Skip to content

Commit 0807b1a

Browse files
committed
[java] Using assertj in more native manner
1 parent 7358b15 commit 0807b1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/client/test/org/openqa/selenium/remote/NewSessionPayloadTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public void shouldPreserveMetadata() throws IOException {
267267
payload.writeTo(toParse);
268268
Map<String, Object> seen = new Json().toType(toParse.toString(), MAP_TYPE);
269269

270-
assertThat(seen.get("se:meta")).isEqualTo("cheese is good");
270+
assertThat(seen).containsEntry("se:meta", "cheese is good");
271271
}
272272
}
273273

0 commit comments

Comments
 (0)