Uses of Interface
net.javacrumbs.jsonunit.assertj.JsonAssertion
| Package | Description |
|---|---|
| net.javacrumbs.jsonunit.assertj |
-
Uses of JsonAssertion in net.javacrumbs.jsonunit.assertj
Methods in net.javacrumbs.jsonunit.assertj with parameters of type JsonAssertion Modifier and Type Method Description @NotNull JsonAssertJsonAssert. and(@NotNull JsonAssertion... assertions)Allows to do multiple comparisons on a document likeassertThatJson("{\"test\":{\"a\":1, \"b\":2, \"c\":3}}").and( a -> a.node("test").isObject(), a -> a.node("test.b").isEqualTo(3) );