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

public interface IsEqualToDsl<A>
The core DSL for isEqualTo and isNotEqualTo
  • Method Details

    • isEqualTo

      A isEqualTo(TreeComparisonCondition condition)
      Terminal statement - apply the final comparison condition to the assertion. Called internally.
      Parameters:
      condition - the condition
      Returns:
      the assertion for fluent comparison
    • isEqualTo

      default A isEqualTo(com.fasterxml.jackson.databind.JsonNode tree)
      Create isEqualTo condition
      Parameters:
      tree - the tree to compare
      Returns:
      the assertion for fluent comparison
    • isEqualTo

      default A isEqualTo(String json)
      Create isEqualTo condition
      Parameters:
      json - the json tree to compare
      Returns:
      the assertion for fluent comparison
    • isEqualTo

      default A isEqualTo(Object object)
      Create isEqualTo condition
      Parameters:
      object - an object to convert to JSON to compare
      Returns:
      the assertion for fluent comparison
    • isEqualTo

      default A isEqualTo(File json)
      Create isEqualTo condition
      Parameters:
      json - the json tree to compare
      Returns:
      the assertion for fluent comparison
    • isEqualTo

      default A isEqualTo(Path json)
      Create isEqualTo condition
      Parameters:
      json - the json tree to compare
      Returns:
      the assertion for fluent comparison
    • isNotEqualTo

      A isNotEqualTo(TreeComparisonCondition condition)
      Terminal statement - apply the final comparison condition to the assertion. Called internally.
      Parameters:
      condition - the condition
      Returns:
      the assertion for fluent comparison
    • isNotEqualTo

      default A isNotEqualTo(com.fasterxml.jackson.databind.JsonNode tree)
      Create isNotEqualTo condition
      Parameters:
      tree - the tree to compare
      Returns:
      the assertion for fluent comparison
    • isNotEqualTo

      default A isNotEqualTo(String json)
      Create isNotEqualTo condition
      Parameters:
      json - the json tree to compare
      Returns:
      the assertion for fluent comparison
    • isNotEqualTo

      default A isNotEqualTo(File json)
      Create isNotEqualTo condition
      Parameters:
      json - the json tree to compare
      Returns:
      the assertion for fluent comparison
    • isNotEqualTo

      default A isNotEqualTo(Path json)
      Create isNotEqualTo condition
      Parameters:
      json - the json tree to compare
      Returns:
      the assertion for fluent comparison
    • isEqualToYaml

      default A isEqualToYaml(String yaml)
      Create isEqualToYaml condition
      Parameters:
      yaml - the yaml tree to compare
      Returns:
      the assertion for fluent comparison
    • isEqualToYaml

      default A isEqualToYaml(File yaml)
      Create isEqualToYaml condition
      Parameters:
      yaml - the yaml tree to compare
      Returns:
      the assertion for fluent comparison
    • isEqualToYaml

      default A isEqualToYaml(Path yaml)
      Create isEqualTo condition
      Parameters:
      yaml - the json tree to compare
      Returns:
      the assertion for fluent comparison
    • isNotEqualToYaml

      default A isNotEqualToYaml(String yaml)
      Create isNotEqualToYaml condition
      Parameters:
      yaml - the yaml tree to compare
      Returns:
      the assertion for fluent comparison
    • isNotEqualToYaml

      default A isNotEqualToYaml(File yaml)
      Create isNotEqualToYaml condition
      Parameters:
      yaml - the yaml tree to compare
      Returns:
      the assertion for fluent comparison
    • isNotEqualToYaml

      default A isNotEqualToYaml(Path yaml)
      Create isNotEqualTo condition
      Parameters:
      yaml - the json tree to compare
      Returns:
      the assertion for fluent comparison