Class HamcrestJsonAssertionBuilder<T>
java.lang.Object
uk.org.webcompere.modelassert.json.hamcrest.HamcrestJsonAssertionBuilder<T>
- Type Parameters:
T- the type of JSON that this asserts
- All Implemented Interfaces:
JsonNodeAssertDsl<HamcrestJsonAssertion<T>>,ArrayNodeDsl<HamcrestJsonAssertion<T>>,BooleanNodeDsl<HamcrestJsonAssertion<T>>,NumberComparisonDsl<HamcrestJsonAssertion<T>>,NumberNodeDsl<HamcrestJsonAssertion<T>>,ObjectNodeDsl<HamcrestJsonAssertion<T>>,Sizeable<HamcrestJsonAssertion<T>>,TextNodeDsl<HamcrestJsonAssertion<T>>,IsEqualToDsl<HamcrestJsonAssertion<T>>,TreeComparisonDsl<HamcrestJsonAssertion<T>>,Satisfies<HamcrestJsonAssertion<T>>
public class HamcrestJsonAssertionBuilder<T>
extends Object
implements JsonNodeAssertDsl<HamcrestJsonAssertion<T>>
This is an interim object - the result of starting to build a hamcrest JSON assertion. It is not, itself
a hamcrest matcher, but will produce one as soon as a meaningful assertion is added
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd a condition that the input JSON must satisfyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
isArray, isArrayContaining, isArrayContaining, isArrayContainingExactly, isArrayContainingExactly, isArrayContainingExactlyInAnyOrder, isArrayContainingExactlyInAnyOrder, isNotArray, satisfiesArrayConditionMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.nodespecific.BooleanNodeDsl
isBoolean, isFalse, isNotBoolean, isTrueMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualToYaml, isEqualToYaml, isEqualToYaml, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualToYaml, isNotEqualToYaml, isNotEqualToYamlMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
array, at, booleanNode, hasValue, is, is, isAnyNode, isMissing, isNot, isNotEmpty, isNotMissing, isNotNull, isNull, matches, number, object, textMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberComparisonDsl
isBetween, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isZero, satisfiesNumberConditionMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
isDouble, isGreaterThanDouble, isGreaterThanInt, isGreaterThanLong, isGreaterThanOrEqualToDouble, isGreaterThanOrEqualToInt, isGreaterThanOrEqualToLong, isInteger, isLessThanDouble, isLessThanInt, isLessThanLong, isLessThanOrEqualToDouble, isLessThanOrEqualToInt, isLessThanOrEqualToLong, isLong, isNotNumber, isNumber, isNumberEqualTo, isNumberNotEqualToMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
containsKey, containsKeys, containsKeysExactly, containsKeysExactlyInAnyOrder, doesNotContainKey, doesNotContainKeys, isNotObject, isObject, satisfiesObjectConditionMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.nodespecific.Sizeable
hasSize, isEmpty, sizeMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
isEmptyText, isNotEmptyText, isNotText, isNotText, isText, isText, matches, matches, satisfiesTextCondition, textContains, textDoesNotContain, textDoesNotStartWith, textMatches, textStartsWithMethods inherited from interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TreeComparisonDsl
isEqualTo, isNotEqualTo, where