diff --git a/src/test/java/com/uber/cadence/internal/replay/StartChildWorkflowExecutionParametersTest.java b/src/test/java/com/uber/cadence/internal/replay/StartChildWorkflowExecutionParametersTest.java index 7bd464e1..6e0b3624 100644 --- a/src/test/java/com/uber/cadence/internal/replay/StartChildWorkflowExecutionParametersTest.java +++ b/src/test/java/com/uber/cadence/internal/replay/StartChildWorkflowExecutionParametersTest.java @@ -142,7 +142,7 @@ public void testEqualsAndHashCode() { .setParentClosePolicy(ParentClosePolicy.TERMINATE) .build(); - assertTrue(parameters1.equals(parameters2)); + assertEquals(parameters1, parameters2); assertEquals(parameters1.hashCode(), parameters2.hashCode()); }