Interface IsEqualToDsl<A>
- 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 Summary
Modifier and TypeMethodDescriptiondefault AisEqualTo(com.fasterxml.jackson.databind.JsonNode tree) Create isEqualTo conditiondefault ACreate isEqualTo conditiondefault ACreate isEqualTo conditiondefault ACreate isEqualTo conditiondefault ACreate isEqualTo conditionisEqualTo(TreeComparisonCondition condition) Terminal statement - apply the final comparison condition to the assertion.default AisEqualToYaml(File yaml) Create isEqualToYaml conditiondefault AisEqualToYaml(String yaml) Create isEqualToYaml conditiondefault AisEqualToYaml(Path yaml) Create isEqualTo conditiondefault AisNotEqualTo(com.fasterxml.jackson.databind.JsonNode tree) Create isNotEqualTo conditiondefault AisNotEqualTo(File json) Create isNotEqualTo conditiondefault AisNotEqualTo(String json) Create isNotEqualTo conditiondefault AisNotEqualTo(Path json) Create isNotEqualTo conditionisNotEqualTo(TreeComparisonCondition condition) Terminal statement - apply the final comparison condition to the assertion.default AisNotEqualToYaml(File yaml) Create isNotEqualToYaml conditiondefault AisNotEqualToYaml(String yaml) Create isNotEqualToYaml conditiondefault AisNotEqualToYaml(Path yaml) Create isNotEqualTo condition
-
Method Details
-
isEqualTo
Terminal statement - apply the final comparison condition to the assertion. Called internally.- Parameters:
condition- the condition- Returns:
- the assertion for fluent comparison
-
isEqualTo
Create isEqualTo condition- Parameters:
tree- the tree to compare- Returns:
- the assertion for fluent comparison
-
isEqualTo
Create isEqualTo condition- Parameters:
json- the json tree to compare- Returns:
- the assertion for fluent comparison
-
isEqualTo
Create isEqualTo condition- Parameters:
object- an object to convert to JSON to compare- Returns:
- the assertion for fluent comparison
-
isEqualTo
Create isEqualTo condition- Parameters:
json- the json tree to compare- Returns:
- the assertion for fluent comparison
-
isEqualTo
Create isEqualTo condition- Parameters:
json- the json tree to compare- Returns:
- the assertion for fluent comparison
-
isNotEqualTo
Terminal statement - apply the final comparison condition to the assertion. Called internally.- Parameters:
condition- the condition- Returns:
- the assertion for fluent comparison
-
isNotEqualTo
Create isNotEqualTo condition- Parameters:
tree- the tree to compare- Returns:
- the assertion for fluent comparison
-
isNotEqualTo
Create isNotEqualTo condition- Parameters:
json- the json tree to compare- Returns:
- the assertion for fluent comparison
-
isNotEqualTo
Create isNotEqualTo condition- Parameters:
json- the json tree to compare- Returns:
- the assertion for fluent comparison
-
isNotEqualTo
Create isNotEqualTo condition- Parameters:
json- the json tree to compare- Returns:
- the assertion for fluent comparison
-
isEqualToYaml
Create isEqualToYaml condition- Parameters:
yaml- the yaml tree to compare- Returns:
- the assertion for fluent comparison
-
isEqualToYaml
Create isEqualToYaml condition- Parameters:
yaml- the yaml tree to compare- Returns:
- the assertion for fluent comparison
-
isEqualToYaml
Create isEqualTo condition- Parameters:
yaml- the json tree to compare- Returns:
- the assertion for fluent comparison
-
isNotEqualToYaml
Create isNotEqualToYaml condition- Parameters:
yaml- the yaml tree to compare- Returns:
- the assertion for fluent comparison
-
isNotEqualToYaml
Create isNotEqualToYaml condition- Parameters:
yaml- the yaml tree to compare- Returns:
- the assertion for fluent comparison
-
isNotEqualToYaml
Create isNotEqualTo condition- Parameters:
yaml- the json tree to compare- Returns:
- the assertion for fluent comparison
-