Interface TreeComparisonDsl<A>

Type Parameters:
A - the assertion type
All Superinterfaces:
IsEqualToDsl<A>, Satisfies<A>
All Known Subinterfaces:
JsonNodeAssertDsl<A>
All Known Implementing Classes:
AssertJson, ConditionList, CoreJsonAssertion, HamcrestJsonAssertion, HamcrestJsonAssertionBuilder, JsonAssertDslBuilders.At, PathDsl

public interface TreeComparisonDsl<A> extends Satisfies<A>, IsEqualToDsl<A>
Assertions comparing one tree with another
  • Method Details

    • isEqualTo

      default A isEqualTo(TreeComparisonCondition condition)
      Description copied from interface: IsEqualToDsl
      Terminal statement - apply the final comparison condition to the assertion. Called internally.
      Specified by:
      isEqualTo in interface IsEqualToDsl<A>
      Parameters:
      condition - the condition
      Returns:
      the assertion for fluent comparison
    • isNotEqualTo

      default A isNotEqualTo(TreeComparisonCondition condition)
      Description copied from interface: IsEqualToDsl
      Terminal statement - apply the final comparison condition to the assertion. Called internally.
      Specified by:
      isNotEqualTo in interface IsEqualToDsl<A>
      Parameters:
      condition - the condition
      Returns:
      the assertion for fluent comparison
    • where

      default WhereDsl<A> where()