Skip to content

Commit 9f9ab7e

Browse files
author
Elliot Kim
committed
Update tests
1 parent cb495e1 commit 9f9ab7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core-api/src/test/java/com/optimizely/ab/OptimizelyTestV3.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ public void activateWithNullAttributes() throws Exception {
487487
isNull(String.class));
488488

489489
Map<String, String> actualValue = attributeCaptor.getValue();
490-
assertTrue(actualValue.isEmpty());
490+
assertThat(actualValue, is(Collections.<String, String>emptyMap()));
491491

492492
// verify that dispatchEvent was called with the correct LogEvent object
493493
verify(mockEventHandler).dispatchEvent(logEventToDispatch);
@@ -977,7 +977,7 @@ public void trackEventWithNullAttributes() throws Exception {
977977
isNull(String.class));
978978

979979
Map<String, String> actualValue = attributeCaptor.getValue();
980-
assertTrue(actualValue.isEmpty());
980+
assertThat(actualValue, is(Collections.<String, String>emptyMap()));
981981

982982
verify(mockEventHandler).dispatchEvent(logEventToDispatch);
983983
}

0 commit comments

Comments
 (0)