Interface JsonAsserterEx

  • All Superinterfaces:
    JsonAsserter

    public interface JsonAsserterEx
    extends JsonAsserter
    Supports asserting on multiple JSON paths.
    Author:
    aherscu
    • 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