Interface JsonAsserterEx
-
- All Superinterfaces:
JsonAsserter
public interface JsonAsserterEx extends JsonAsserter
Supports asserting on multiple JSON paths.- Author:
- aherscu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JsonAsserter
assertHas(JsonAssertion<?>... expectedContents)
Asserts that expected contents match.JsonAsserter
assertHas(Iterable<? extends JsonAssertion<?>> expectedContents)
Asserts that expected contents match.-
Methods inherited from interface dev.aherscu.qa.testing.utils.assertions.JsonAsserter
and, assertEquals, assertEquals, assertNotDefined, assertNotDefined, assertNotNull, assertNotNull, assertNull, assertNull, assertThat, assertThat
-
-
-
-
Method Detail
-
assertHas
JsonAsserter assertHas(Iterable<? extends JsonAssertion<?>> expectedContents)
Asserts that expected contents match.- Parameters:
expectedContents
- the expected contents- Returns:
- this to allow fluent assertion chains
-
assertHas
JsonAsserter assertHas(JsonAssertion<?>... expectedContents)
Asserts that expected contents match.- Parameters:
expectedContents
- the expected contents- Returns:
- this to allow fluent assertion chains
-
-