Skip to content

Commit

Permalink
[java] Using assertj in more native manner
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Jan 22, 2021
1 parent 7358b15 commit 0807b1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public void shouldPreserveMetadata() throws IOException {
payload.writeTo(toParse);
Map<String, Object> seen = new Json().toType(toParse.toString(), MAP_TYPE);

assertThat(seen.get("se:meta")).isEqualTo("cheese is good");
assertThat(seen).containsEntry("se:meta", "cheese is good");
}
}

Expand Down

0 comments on commit 0807b1a

Please sign in to comment.