File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core-api/src/test/java/com/optimizely/ab Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments