Index

A B C D E F G H I J K L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages

A

add(T) - Method in class uk.org.webcompere.modelassert.json.condition.array.Multiset
 
all() - Static method in class uk.org.webcompere.modelassert.json.condition.tree.PathMatch
A path match that matches everywhere
and(Condition) - Method in interface uk.org.webcompere.modelassert.json.Condition
Add a second condition to this one using and logic.
AndCondition - Class in uk.org.webcompere.modelassert.json.condition
Ands two conditions together from left to right, with short-circuiting
AndCondition(Condition, Condition) - Constructor for class uk.org.webcompere.modelassert.json.condition.AndCondition
 
ANY - Enum constant in enum class uk.org.webcompere.modelassert.json.PathWildCard
Can be replaced by any single node in the tree - a field or array index
ANY_FIELD_PATTERN - Static variable in class uk.org.webcompere.modelassert.json.condition.tree.RegexPathMatcher
 
ANY_INTEGER - Static variable in class uk.org.webcompere.modelassert.json.Patterns
Match any integer, positive or negative
ANY_SUBTREE - Enum constant in enum class uk.org.webcompere.modelassert.json.PathWildCard
Can be replaced by any amount of subtree (0 - n) in the path
array() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Switch to array context
ARRAY_CONTAINS - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.tree.TreeRule
Allow the array to contain the elements, rather than match perfectly can be combined with allowing any order
ArrayComparisonElementCondition - Class in uk.org.webcompere.modelassert.json.condition.tree
Allow the LooseComparison algorithm to use elements of the expected as conditions, while still honouring the various rules that guide how matching is performed
ArrayComparisonElementCondition(JsonNode, int, Location, TreeComparisonCondition) - Constructor for class uk.org.webcompere.modelassert.json.condition.tree.ArrayComparisonElementCondition
Compare an element in the target array
arrayContains() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.PathDsl
Allow the array at this position in the tree to just contain the other elements rather than match it completely
arrayContains() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
Allow arrays to just contain the other elements rather than match completely
ArrayContains - Class in uk.org.webcompere.modelassert.json.condition
Array content conditions
ArrayContains(String, List<Condition>, boolean) - Constructor for class uk.org.webcompere.modelassert.json.condition.ArrayContains
Construct the array contains condition
ArrayElementCondition - Interface in uk.org.webcompere.modelassert.json.condition.array
 
ArrayElementConditionAdapter - Class in uk.org.webcompere.modelassert.json.condition.array
Convert a normal element condition into an array element condition
ArrayElementConditionAdapter(Condition) - Constructor for class uk.org.webcompere.modelassert.json.condition.array.ArrayElementConditionAdapter
 
arrayInAnyOrder() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.PathDsl
Relax the ordering requirement for an array at this position in the tree
arrayInAnyOrder() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
Relax the ordering requirement for an array, everywhere
ArrayNodeDsl<A> - Interface in uk.org.webcompere.modelassert.json.dsl.nodespecific
Assertions specific to being an array node
ArrayNodes<A> - Class in uk.org.webcompere.modelassert.json.dsl.nodespecific
Reduce the DSL down to just Aarrays
ArrayNodes(Satisfies<A>) - Constructor for class uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodes
 
assertJson(JsonNode) - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin an assertJson style assertion
assertJson(File) - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin an assertJson style assertion
assertJson(Object) - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin an assertJson style assertion
assertJson(String) - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin an assertJson style assertion
assertJson(Path) - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin an assertJson style assertion
AssertJson<T> - Class in uk.org.webcompere.modelassert.json.assertjson
The assertJson form of the assertion
AssertJson(JsonProvider<T>, T) - Constructor for class uk.org.webcompere.modelassert.json.assertjson.AssertJson
Constructs an assertion - use the assertJson factory method instead
assertYaml(File) - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin an assertYaml style assertion
assertYaml(String) - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin an assertYaml style assertion
assertYaml(Path) - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin an assertYaml style assertion
at(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Start adding an JsonAssertDslBuilders.At expression to the assertion
at(String) - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
Provide a path using the JSON Pointer syntax - i.e.
At(Satisfies<A>, String) - Constructor for class uk.org.webcompere.modelassert.json.dsl.JsonAssertDslBuilders.At
Construct an at builder on a given assertion

B

booleanNode() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Switch to boolean context
BooleanNodeDsl<A> - Interface in uk.org.webcompere.modelassert.json.dsl.nodespecific
Assertions for Boolean nodes
BooleanNodes<A> - Class in uk.org.webcompere.modelassert.json.dsl.nodespecific
Reduce the DSL down to just booleans
BooleanNodes(Satisfies<A>) - Constructor for class uk.org.webcompere.modelassert.json.dsl.nodespecific.BooleanNodes
 

C

child(String) - Method in class uk.org.webcompere.modelassert.json.condition.tree.Location
The location with a child
Condition - Interface in uk.org.webcompere.modelassert.json
A condition that the data must meet in order to pass the test
CONDITION - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.tree.TreeRule
Apply a specific condition instead of the tree comparison
ConditionList - Class in uk.org.webcompere.modelassert.json.condition
A set of conditions for matching
ConditionList() - Constructor for class uk.org.webcompere.modelassert.json.condition.ConditionList
 
conditions() - Static method in class uk.org.webcompere.modelassert.json.condition.ConditionList
Create a list of conditions using the DSL
configuredBy(UnaryOperator<WhereDsl<A>>) - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
Add common configuration to the where dsl
containsKey(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
Assert that the value contains a key/field
containsKeys(String, String...) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
Assert that the value contains multiple keys/fields
containsKeysExactly(String, String...) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
Assert that the value contains multiple keys/fields, no more, no less, order maintained.
containsKeysExactlyInAnyOrder(String, String...) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
Assert that the value contains multiple keys/fields, no more, no less, any order
containsValues(Object, Object...) - Static method in class uk.org.webcompere.modelassert.json.condition.ArrayContains
Create the condition to match the provided values in the array
containsValues(ConditionList) - Static method in class uk.org.webcompere.modelassert.json.condition.ArrayContains
Create the condition to match the provided conditions in the array
containsValuesExactly(Object, Object...) - Static method in class uk.org.webcompere.modelassert.json.condition.ArrayContains
Create the condition to match the provided values in the array in exact order
containsValuesExactly(ConditionList) - Static method in class uk.org.webcompere.modelassert.json.condition.ArrayContains
Create the condition to match the provided condition list in the array in exact order
CoreJsonAssertion<T,A extends CoreJsonAssertion<T,A>> - Class in uk.org.webcompere.modelassert.json.impl
Common implementation of both variants of the json assertion.
CoreJsonAssertion(JsonProvider<T>) - Constructor for class uk.org.webcompere.modelassert.json.impl.CoreJsonAssertion
 

D

describe() - Method in class uk.org.webcompere.modelassert.json.condition.AndCondition
 
describe() - Method in interface uk.org.webcompere.modelassert.json.condition.array.ArrayElementCondition
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.array.ArrayElementConditionAdapter
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.ArrayContains
Describe the condition
describe() - Method in interface uk.org.webcompere.modelassert.json.Condition
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.HasSize
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.HasValue
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.HasValueWithLooseType
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.Ignore
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.IsEmpty
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.JsonAt
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.JsonIsNotNull
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.MatcherCondition
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.MatchesTextCondition
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.MissingCondition
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.Not
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.NullCondition
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.NumberCondition
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.ObjectContainsKeys
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.OrCondition
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.PredicateWrappedCondition
Describe the condition
describe() - Method in class uk.org.webcompere.modelassert.json.condition.tree.ArrayComparisonElementCondition
 
describe() - Method in class uk.org.webcompere.modelassert.json.condition.tree.TreeComparisonCondition
Describe the condition
describeMismatch(Object, Description) - Method in class uk.org.webcompere.modelassert.json.impl.CoreJsonAssertion
 
describeTo(Description) - Method in class uk.org.webcompere.modelassert.json.impl.CoreJsonAssertion
 
doesNotContainKey(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
Assert that the value does not contain a key/field
doesNotContainKeys(String, String...) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
Assert that the value does not contain multiple keys/fields

E

entries() - Method in class uk.org.webcompere.modelassert.json.condition.array.Multiset
 
EQUAL_TO - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.NumberCondition.Comparison
 

F

first() - Method in class uk.org.webcompere.modelassert.json.condition.tree.Location
Get the first part of the path
from(T) - Method in interface uk.org.webcompere.modelassert.json.JsonProvider
Convert the input object into JSON
fromConditions(List<Condition>, Supplier<String>) - Static method in class uk.org.webcompere.modelassert.json.condition.array.LooseComparison
Construct the comparison from the provided regular conditions
fromJsonPointer(WhereDsl<A>, String) - Static method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.PathDsl
Create a path DSL from a JSON Pointer expression.

G

get() - Method in class uk.org.webcompere.modelassert.json.impl.MemoizedSupplier
 
getCondition() - Method in class uk.org.webcompere.modelassert.json.Result
 
getConditionList() - Method in class uk.org.webcompere.modelassert.json.condition.ConditionList
Get the conditions
getInstance() - Static method in class uk.org.webcompere.modelassert.json.condition.MissingCondition
Access the one and only instance
getInstance() - Static method in class uk.org.webcompere.modelassert.json.condition.NullCondition
Access the one and only instance
getRule() - Method in class uk.org.webcompere.modelassert.json.condition.tree.PathRule
Get the rule type
getRuleCondition() - Method in class uk.org.webcompere.modelassert.json.condition.tree.PathRule
Get any condition associated with the rule
getWas() - Method in class uk.org.webcompere.modelassert.json.Result
 
GREATER_THAN - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.NumberCondition.Comparison
 
GREATER_THAN_OR_EQUAL - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.NumberCondition.Comparison
 
GUID_PATTERN - Static variable in class uk.org.webcompere.modelassert.json.Patterns
The standard GUID pattern, supporting upper and lowercase hex

H

HamcrestJsonAssertion<T> - Class in uk.org.webcompere.modelassert.json.hamcrest
Add strong typing to the CoreJsonAssertion to provide a hamcrest only assertion
HamcrestJsonAssertion(JsonProvider<T>) - Constructor for class uk.org.webcompere.modelassert.json.hamcrest.HamcrestJsonAssertion
 
HamcrestJsonAssertionBuilder<T> - Class in uk.org.webcompere.modelassert.json.hamcrest
This is an interim object - the result of starting to build a hamcrest JSON assertion.
HamcrestJsonAssertionBuilder(JsonProvider<T>) - Constructor for class uk.org.webcompere.modelassert.json.hamcrest.HamcrestJsonAssertionBuilder
 
hasSize(int) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.Sizeable
Depending on the type of node, this will detect size
HasSize - Class in uk.org.webcompere.modelassert.json.condition
A size condition - works out the size of the target
HasSize(int) - Constructor for class uk.org.webcompere.modelassert.json.condition.HasSize
 
hasValue(Object) - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Assert that the node has a value is equal to the given object
HasValue<V> - Class in uk.org.webcompere.modelassert.json.condition
Specific typed "hasValue" comparison
HasValue(Function<JsonNode, V>, V) - Constructor for class uk.org.webcompere.modelassert.json.condition.HasValue
Construct the condition
HasValueWithLooseType - Class in uk.org.webcompere.modelassert.json.condition
Performs the hasValue operation with flexibility and type flexibility.
HasValueWithLooseType(Object) - Constructor for class uk.org.webcompere.modelassert.json.condition.HasValueWithLooseType
Construct with the expected value

I

Ignore - Class in uk.org.webcompere.modelassert.json.condition
This condition always passes, ignoring its input
Ignore() - Constructor for class uk.org.webcompere.modelassert.json.condition.Ignore
 
IGNORE_ARRAY_ORDER - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.tree.TreeRule
Allow the array to be in any order
IGNORE_KEY_ORDER - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.tree.TreeRule
Ignore the order of keys in an object
invert() - Method in class uk.org.webcompere.modelassert.json.Result
Flip the result
inverted() - Method in interface uk.org.webcompere.modelassert.json.Condition
Invert the condition - i.e.
is(String, Predicate<JsonNode>) - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Add a custom assertion condition
is(Function<JsonNodeAssertDsl<A>, A>) - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Add a set of custom assertions via a helper method or lambda
isAnyNode() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
A missing node is not anything, everything else is
isArray() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
Assert that the value is an array
isArrayContaining(Object, Object...) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
The array contains given values.
isArrayContaining(ConditionList) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
The array contains values matching the conditions
isArrayContainingExactly(Object, Object...) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
The array contains given values, in the given order, with no extra ones
isArrayContainingExactly(ConditionList) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
The array contains given values, in the given order, with no extra ones
isArrayContainingExactlyInAnyOrder(Object, Object...) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
The array contains given values, in any order, with no extra ones
isArrayContainingExactlyInAnyOrder(ConditionList) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
The array contains values meeting the given conditions, in any order, with no extra ones
isBetween(Number, Number) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberComparisonDsl
Assert that the value lies between the limits
isBoolean() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.BooleanNodeDsl
Assert that the node is boolean
isDouble() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is an number, castable to long
isEmpty() - Method in class uk.org.webcompere.modelassert.json.condition.tree.Location
Is there nothing left of the path - are we at the root? or have we peeled off all the first
isEmpty() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.Sizeable
Depending on the type of node, this will detect emptiness
IsEmpty - Class in uk.org.webcompere.modelassert.json.condition
Detect whether a node is present, but empty
IsEmpty() - Constructor for class uk.org.webcompere.modelassert.json.condition.IsEmpty
 
isEmptyText() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the node is text and empty
isEqualTo(JsonNode) - Static method in class uk.org.webcompere.modelassert.json.condition.tree.TreeComparisonCondition
Construct equals condition from a JsonNode
isEqualTo(JsonNode) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isEqualTo condition
isEqualTo(File) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isEqualTo condition
isEqualTo(Object) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isEqualTo condition
isEqualTo(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isEqualTo condition
isEqualTo(Path) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isEqualTo condition
isEqualTo(T, JsonProvider<T>) - Static method in class uk.org.webcompere.modelassert.json.condition.tree.TreeComparisonCondition
Construct equals condition from any json object and its converter
isEqualTo(TreeComparisonCondition) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Terminal statement - apply the final comparison condition to the assertion.
isEqualTo(TreeComparisonCondition) - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
 
isEqualTo(TreeComparisonCondition) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TreeComparisonDsl
 
IsEqualToDsl<A> - Interface in uk.org.webcompere.modelassert.json.dsl.nodespecific.tree
The core DSL for isEqualTo and isNotEqualTo
isEqualToYaml(File) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isEqualToYaml condition
isEqualToYaml(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isEqualToYaml condition
isEqualToYaml(Path) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isEqualTo condition
isFalse() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.BooleanNodeDsl
Assert that the node is boolean false
isGreaterThan(Number) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberComparisonDsl
Assert that the value is a number, greater than
isGreaterThanDouble(double) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, greater than
isGreaterThanInt(int) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, greater than
isGreaterThanLong(long) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, greater than
isGreaterThanOrEqualTo(Number) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberComparisonDsl
Assert that the value is a number, greater than or equal to
isGreaterThanOrEqualToDouble(double) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, greater than or equal to
isGreaterThanOrEqualToInt(int) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, greater than or equal to
isGreaterThanOrEqualToLong(long) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, greater than or equal to
isIgnored() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.PathDsl
Ignore everything at this path
isInteger() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is an number, castable to integer
isLessThan(Number) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberComparisonDsl
Assert that the value is a number, less than the given number
isLessThanDouble(double) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, less than the given number
isLessThanInt(int) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, less than the given number
isLessThanLong(long) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, less than the given number
isLessThanOrEqualTo(Number) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberComparisonDsl
Assert that the value is a number, less than or equal to
isLessThanOrEqualToDouble(double) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, less than or equal to
isLessThanOrEqualToInt(int) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, less than or equal to
isLessThanOrEqualToLong(long) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, less than or equal to
isLong() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is an number, castable to long
isMissing() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Assert that the path is missing
isNot(String, Predicate<JsonNode>) - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Add a custom assertion condition that must be false
isNotArray() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
Assert that the value is not an array
isNotBoolean() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.BooleanNodeDsl
Assert that the node is not boolean
isNotEmpty() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Depending on the type of node, this will detect emptiness
isNotEmptyText() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the node is text and is not empty
isNotEqualTo(JsonNode) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isNotEqualTo condition
isNotEqualTo(File) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isNotEqualTo condition
isNotEqualTo(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isNotEqualTo condition
isNotEqualTo(Path) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isNotEqualTo condition
isNotEqualTo(TreeComparisonCondition) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Terminal statement - apply the final comparison condition to the assertion.
isNotEqualTo(TreeComparisonCondition) - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
 
isNotEqualTo(TreeComparisonCondition) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TreeComparisonDsl
 
isNotEqualToYaml(File) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isNotEqualToYaml condition
isNotEqualToYaml(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isNotEqualToYaml condition
isNotEqualToYaml(Path) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.IsEqualToDsl
Create isNotEqualTo condition
isNotMissing() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Assert that the path is not missing
isNotNull() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Assert that the path is not null
isNotNumber() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the node is not a number node
isNotObject() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
Assert that the value is not an object
isNotText() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the node is not a text node
isNotText(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the node is a text node with value different to the given one
isNull() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Assert that the path is null
isNumber() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the node is a number node
isNumberEqualTo(Number) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, equal to the given number
isNumberNotEqualTo(Number) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodeDsl
Assert that the value is a number, not equal to the given number
ISO_8601_DATE - Static variable in class uk.org.webcompere.modelassert.json.Patterns
ISO 8601 plain date format - e.g.
ISO_8601_DATE_ANY - Static variable in class uk.org.webcompere.modelassert.json.Patterns
Matches with any of the above formats
ISO_8601_DATE_TIME - Static variable in class uk.org.webcompere.modelassert.json.Patterns
ISO 8601 date/time format - e.g.
ISO_8601_ZONED_DATE_TIME - Static variable in class uk.org.webcompere.modelassert.json.Patterns
ISO 8601 zoned date time format - e.g.
isObject() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
Assert that the value is an object
isPassed() - Method in class uk.org.webcompere.modelassert.json.Result
 
isText() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the node is a text node
isText(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the node is a text node with a given value
isTrue() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.BooleanNodeDsl
Assert that the node is boolean true
isZero() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberComparisonDsl
Assert that the value is a number, equal to 0

J

json() - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin a hamcrest matcher based on a json String
JsonAssertDslBuilders - Class in uk.org.webcompere.modelassert.json.dsl
 
JsonAssertDslBuilders() - Constructor for class uk.org.webcompere.modelassert.json.dsl.JsonAssertDslBuilders
 
JsonAssertDslBuilders.At<A> - Class in uk.org.webcompere.modelassert.json.dsl
Builder of an at condition, for JSON Pointer comparison
JsonAssertions - Class in uk.org.webcompere.modelassert.json
Jumping on point - create either an assertJson or a hamcrest.
JsonAssertions() - Constructor for class uk.org.webcompere.modelassert.json.JsonAssertions
 
JsonAt - Class in uk.org.webcompere.modelassert.json.condition
The assertion of some JSON at a node within the tree
JsonAt(String, Condition) - Constructor for class uk.org.webcompere.modelassert.json.condition.JsonAt
Construct with the location in the tree to at along with the condition to meet
jsonFile() - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin a hamcrest matcher based on a json file
jsonFilePath() - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin a hamcrest matcher based on a json file via Path
jsonFileProvider() - Static method in class uk.org.webcompere.modelassert.json.JsonProviders
A provider which parses the contents of a file to JsonNode
jsonFrom(T) - Method in interface uk.org.webcompere.modelassert.json.JsonProvider
Execute the provider, wrapping exceptions up as assertion failures
JsonIsNotNull - Class in uk.org.webcompere.modelassert.json.condition
 
JsonIsNotNull() - Constructor for class uk.org.webcompere.modelassert.json.condition.JsonIsNotNull
 
jsonNode() - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin a hamcrest matcher based on a json node
JsonNodeAssertDsl<A> - Interface in uk.org.webcompere.modelassert.json.dsl
DSLs available on any JsonNode of unknown type.
jsonObject() - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin a hamcrest matcher based on an object
jsonObjectProvider() - Static method in class uk.org.webcompere.modelassert.json.JsonProviders
A provider which parses Object to JsonNode
jsonPathProvider() - Static method in class uk.org.webcompere.modelassert.json.JsonProviders
A provider which parses the contents of a file to JsonNode
JsonProvider<T> - Interface in uk.org.webcompere.modelassert.json
Provides conversion to JSON of the input
JsonProviders - Class in uk.org.webcompere.modelassert.json
Collection of built in convertions to JsonNode
JsonProviders() - Constructor for class uk.org.webcompere.modelassert.json.JsonProviders
 
jsonStringProvider() - Static method in class uk.org.webcompere.modelassert.json.JsonProviders
A provider which parses String to JsonNode

K

keysInAnyOrder() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.PathDsl
Add a TreeRule.IGNORE_KEY_ORDER to the clause
keysInAnyOrder() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
Relax the key ordering constraint for everywhere
keysInOrder() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.PathDsl
Add a TreeRule.REQUIRE_KEY_ORDER to the path - this can't be done in WhereDsl as it is already the default so wouldn't mean anything

L

LESS_THAN - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.NumberCondition.Comparison
 
LESS_THAN_OR_EQUAL - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.NumberCondition.Comparison
 
Location - Class in uk.org.webcompere.modelassert.json.condition.tree
Describes the JSON pointer up to a position in the tree
Location() - Constructor for class uk.org.webcompere.modelassert.json.condition.tree.Location
An empty location
looseComparison(ArrayNode) - Method in class uk.org.webcompere.modelassert.json.condition.array.LooseComparison
Execute the loose array comparison
LooseComparison - Class in uk.org.webcompere.modelassert.json.condition.array
Loose array comparison
LooseComparison(List<ArrayElementCondition>, Supplier<String>) - Constructor for class uk.org.webcompere.modelassert.json.condition.array.LooseComparison
 

M

MatcherCondition - Class in uk.org.webcompere.modelassert.json.condition
 
MatcherCondition(Matcher<JsonNode>) - Constructor for class uk.org.webcompere.modelassert.json.condition.MatcherCondition
 
matches(Object) - Method in class uk.org.webcompere.modelassert.json.impl.CoreJsonAssertion
 
matches(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the text matches a regular expression
matches(Pattern) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the node is text matching a regular expression
matches(Matcher<JsonNode>) - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Assert that the node matches a Hamcrest Matcher for JsonNode
matches(Location) - Method in class uk.org.webcompere.modelassert.json.condition.tree.PathMatch
Find out whether this path match fits the location
matches(Location) - Method in class uk.org.webcompere.modelassert.json.condition.tree.PathRule
Does this rule apply to this location
matches(Location, List<PathMatcher>) - Method in interface uk.org.webcompere.modelassert.json.condition.tree.PathMatcher
Does this path matcher prevent a match, or do any of its successors prevent a match
matches(Location, List<PathMatcher>) - Method in class uk.org.webcompere.modelassert.json.condition.tree.RegexPathMatcher
 
matches(Location, List<PathMatcher>) - Method in class uk.org.webcompere.modelassert.json.condition.tree.StringPathMatcher
 
matches(Location, List<PathMatcher>) - Method in class uk.org.webcompere.modelassert.json.condition.tree.WildCardPathMatcher
 
MatchesTextCondition - Class in uk.org.webcompere.modelassert.json.condition
A text node matches a regular expression
MatchesTextCondition(String, Predicate<String>) - Constructor for class uk.org.webcompere.modelassert.json.condition.MatchesTextCondition
Create a custom text condition
MatchesTextCondition(Pattern) - Constructor for class uk.org.webcompere.modelassert.json.condition.MatchesTextCondition
Create a condition which requires the text to meet the pattern
MatchesTextCondition(Pattern, String) - Constructor for class uk.org.webcompere.modelassert.json.condition.MatchesTextCondition
Create a condition which requires the text to meet the pattern
matchesTheRest(Location, List<PathMatcher>) - Static method in interface uk.org.webcompere.modelassert.json.condition.tree.PathMatcher
Work out whether the rest of the location meets the rest of the remaining matchers
MemoizedSupplier<T> - Class in uk.org.webcompere.modelassert.json.impl
A supplier which returns the same answer after the first time
MemoizedSupplier(Supplier<T>) - Constructor for class uk.org.webcompere.modelassert.json.impl.MemoizedSupplier
 
MissingCondition - Class in uk.org.webcompere.modelassert.json.condition
 
Multiset<T> - Class in uk.org.webcompere.modelassert.json.condition.array
Cheap version of multiset to avoid importing all of guava!
Multiset() - Constructor for class uk.org.webcompere.modelassert.json.condition.array.Multiset
 

N

NONE - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.NumberCondition.Comparison
 
not(Condition) - Static method in class uk.org.webcompere.modelassert.json.condition.Not
 
Not - Class in uk.org.webcompere.modelassert.json.condition
Inverts a condition.
NullCondition - Class in uk.org.webcompere.modelassert.json.condition
 
number() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Switch to number context
NumberComparisonDsl<A> - Interface in uk.org.webcompere.modelassert.json.dsl.nodespecific
DSL assertions specific to arbitrary numbers
NumberCondition<N extends Number> - Class in uk.org.webcompere.modelassert.json.condition
Numeric comparisons
NumberCondition(Class<N>, N, NumberCondition.Comparison) - Constructor for class uk.org.webcompere.modelassert.json.condition.NumberCondition
Construct a number condition for a specific numeric type
NumberCondition(N, NumberCondition.Comparison) - Constructor for class uk.org.webcompere.modelassert.json.condition.NumberCondition
Construct a number condition for any numeric type
NumberCondition.Comparison - Enum Class in uk.org.webcompere.modelassert.json.condition
 
NumberNodeDsl<A> - Interface in uk.org.webcompere.modelassert.json.dsl.nodespecific
DSL assertions specific to numeric nodes
NumberNodes<A> - Class in uk.org.webcompere.modelassert.json.dsl.nodespecific
Reduce the DSL down to just numbers
NumberNodes(Satisfies<A>) - Constructor for class uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberNodes
 

O

object() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Switch to object context
OBJECT_CONTAINS - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.tree.TreeRule
Skip over fields that are missing in the other object - implies keys in any order
objectContains() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.PathDsl
Allow missing keys in objects
objectContains() - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
Allow missing keys in objects
ObjectContainsKeys - Class in uk.org.webcompere.modelassert.json.condition
An object node contains given keys/field
ObjectContainsKeys(boolean, String, String...) - Constructor for class uk.org.webcompere.modelassert.json.condition.ObjectContainsKeys
Construct with the keys to find - a varargs with a minimum of 1 argument
ObjectContainsKeys(String, String...) - Constructor for class uk.org.webcompere.modelassert.json.condition.ObjectContainsKeys
Construct with the keys to find - a varargs with a minimum of 1 argument
ObjectNodeDsl<A> - Interface in uk.org.webcompere.modelassert.json.dsl.nodespecific
Assertions specific to object nodes
ObjectNodes<A> - Class in uk.org.webcompere.modelassert.json.dsl.nodespecific
Reduce the DSL down to just object
ObjectNodes(Satisfies<A>) - Constructor for class uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodes
 
of(Object) - Static method in interface uk.org.webcompere.modelassert.json.condition.tree.PathMatcher
Factory method - convert an object into its path matcher
of(Supplier<T>) - Static method in class uk.org.webcompere.modelassert.json.impl.MemoizedSupplier
 
ofJsonPointer(String) - Static method in class uk.org.webcompere.modelassert.json.condition.tree.PathMatch
Convert from JSON Pointer to path match
or(Condition) - Method in interface uk.org.webcompere.modelassert.json.Condition
Add a second condition to this one using or logic.
OrCondition - Class in uk.org.webcompere.modelassert.json.condition
Ors two conditions together from left to right, with short-circuiting
OrCondition(Condition, Condition) - Constructor for class uk.org.webcompere.modelassert.json.condition.OrCondition
 

P

path(Object, Object...) - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
Enter the path context - specialising a rule for the given path.
PathDsl<A> - Class in uk.org.webcompere.modelassert.json.dsl.nodespecific.tree
Path DSL context within the WhereDsl
PathMatch - Class in uk.org.webcompere.modelassert.json.condition.tree
Describes how a path may be matched
PathMatch(Object, Object...) - Constructor for class uk.org.webcompere.modelassert.json.condition.tree.PathMatch
Constructed with at least one value which may be String, Pattern or PathWildCard
PathMatcher - Interface in uk.org.webcompere.modelassert.json.condition.tree
 
PathRule - Class in uk.org.webcompere.modelassert.json.condition.tree
Dictates a TreeRule that applies at a given path match and any operand for that rule
PathRule(PathMatch, Condition) - Constructor for class uk.org.webcompere.modelassert.json.condition.tree.PathRule
Construct to apply a condition rule to a path
PathRule(PathMatch, TreeRule) - Constructor for class uk.org.webcompere.modelassert.json.condition.tree.PathRule
Construct to apply a rule to a path
PathRule(TreeRule) - Constructor for class uk.org.webcompere.modelassert.json.condition.tree.PathRule
Constructed with a stateless tree rule for everywhere
PathWildCard - Enum Class in uk.org.webcompere.modelassert.json
 
Patterns - Class in uk.org.webcompere.modelassert.json
Common regular expressions for changeable patterns
Patterns() - Constructor for class uk.org.webcompere.modelassert.json.Patterns
 
peelOffFirst() - Method in class uk.org.webcompere.modelassert.json.condition.tree.Location
Slice the front off the location, and produce the rest of the path
PredicateWrappedCondition - Class in uk.org.webcompere.modelassert.json.condition
A condition which checks a predicate for the node and then delegates to a further condition.
PredicateWrappedCondition(String, Predicate<JsonNode>) - Constructor for class uk.org.webcompere.modelassert.json.condition.PredicateWrappedCondition
Construct the condition
PredicateWrappedCondition(String, Predicate<JsonNode>, Condition) - Constructor for class uk.org.webcompere.modelassert.json.condition.PredicateWrappedCondition
Construct the condition

R

RegexPathMatcher - Class in uk.org.webcompere.modelassert.json.condition.tree
Matches a Json pointer sub path on the tree using a regular expression
RegexPathMatcher(Pattern) - Constructor for class uk.org.webcompere.modelassert.json.condition.tree.RegexPathMatcher
 
REQUIRE_KEY_ORDER - Enum constant in enum class uk.org.webcompere.modelassert.json.condition.tree.TreeRule
When the key order is important
Result - Class in uk.org.webcompere.modelassert.json
The result of comparison.
Result(String, String, boolean) - Constructor for class uk.org.webcompere.modelassert.json.Result
Construct a result
Result(Supplier<String>, String, boolean) - Constructor for class uk.org.webcompere.modelassert.json.Result
Construct a result

S

satisfies(Condition) - Method in class uk.org.webcompere.modelassert.json.assertjson.AssertJson
 
satisfies(Condition) - Method in class uk.org.webcompere.modelassert.json.condition.ConditionList
 
satisfies(Condition) - Method in class uk.org.webcompere.modelassert.json.dsl.JsonAssertDslBuilders.At
 
satisfies(Condition) - Method in class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.PathDsl
 
satisfies(Condition) - Method in interface uk.org.webcompere.modelassert.json.dsl.Satisfies
Add a condition that the input JSON must satisfy
satisfies(Condition) - Method in class uk.org.webcompere.modelassert.json.dsl.SubsetDsl
Add a condition that the input JSON must satisfy
satisfies(Condition) - Method in class uk.org.webcompere.modelassert.json.hamcrest.HamcrestJsonAssertionBuilder
 
satisfies(Condition) - Method in class uk.org.webcompere.modelassert.json.impl.CoreJsonAssertion
 
satisfies(ConditionList) - Method in interface uk.org.webcompere.modelassert.json.dsl.Satisfies
Add multiple conditions in a list
Satisfies<A> - Interface in uk.org.webcompere.modelassert.json.dsl
 
satisfiesArrayCondition(Condition) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ArrayNodeDsl
Assert that the value is an array, meeting an additional condition
satisfiesNumberCondition(Condition) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.NumberComparisonDsl
Assert that the value is a number, meeting an additional condition
satisfiesObjectCondition(Condition) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.ObjectNodeDsl
Assert that the value is an object, meeting an additional condition
satisfiesTextCondition(Condition) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the value is text, meeting an additional condition
size() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.Sizeable
Requiring this node to be a sizeable node, this switches to NumberComparisonDsl to allow criteria to be specified for the size.
Sizeable<A> - Interface in uk.org.webcompere.modelassert.json.dsl.nodespecific
 
sizeOf(Satisfies<A>) - Static method in class uk.org.webcompere.modelassert.json.condition.HasSize
Switch to Size Condition building context to allow the size to be spec
StringPathMatcher - Class in uk.org.webcompere.modelassert.json.condition.tree
 
StringPathMatcher(String) - Constructor for class uk.org.webcompere.modelassert.json.condition.tree.StringPathMatcher
 
SubsetDsl<A> - Class in uk.org.webcompere.modelassert.json.dsl
Reduce the DSL down to a subset
SubsetDsl(Satisfies<A>) - Constructor for class uk.org.webcompere.modelassert.json.dsl.SubsetDsl
 

T

test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.AndCondition
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.ArrayContains
Execute the test of the condition
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.HasSize
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.HasValue
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.HasValueWithLooseType
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.Ignore
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.IsEmpty
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.JsonAt
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.JsonIsNotNull
Execute the test of the condition
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.MatcherCondition
Execute the test of the condition
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.MatchesTextCondition
Execute the test of the condition
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.MissingCondition
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.Not
Execute the test of the condition
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.NullCondition
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.NumberCondition
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.ObjectContainsKeys
Execute the test of the condition
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.OrCondition
 
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.PredicateWrappedCondition
Execute the test of the condition
test(JsonNode) - Method in interface uk.org.webcompere.modelassert.json.Condition
Execute the test of the condition
test(JsonNode) - Method in class uk.org.webcompere.modelassert.json.condition.tree.TreeComparisonCondition
Execute the test of the condition
test(JsonNode, int) - Method in interface uk.org.webcompere.modelassert.json.condition.array.ArrayElementCondition
Execute the test of the condition
test(JsonNode, int) - Method in class uk.org.webcompere.modelassert.json.condition.array.ArrayElementConditionAdapter
 
test(JsonNode, int) - Method in class uk.org.webcompere.modelassert.json.condition.tree.ArrayComparisonElementCondition
 
text() - Method in interface uk.org.webcompere.modelassert.json.dsl.JsonNodeAssertDsl
Switch to string context
textContains(String) - Static method in class uk.org.webcompere.modelassert.json.condition.MatchesTextCondition
Build a text contains condition
textContains(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the text of this node contains a substring
textDoesNotContain(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the text of this node contains a substring
textDoesNotStartWith(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the text of this node does not start with a substring
textMatches(String, Predicate<String>) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the text matches a custom predicate
textMatches(Pattern) - Static method in class uk.org.webcompere.modelassert.json.condition.MatchesTextCondition
Build a matcher condition
TextNodeDsl<A> - Interface in uk.org.webcompere.modelassert.json.dsl.nodespecific
Test node specific assertions
TextNodes<A> - Class in uk.org.webcompere.modelassert.json.dsl.nodespecific
Reduce the DSL down to just string nodes
TextNodes(Satisfies<A>) - Constructor for class uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodes
 
textStartsWith(String) - Static method in class uk.org.webcompere.modelassert.json.condition.MatchesTextCondition
Build a text starts with condition
textStartsWith(String) - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TextNodeDsl
Assert that the text of this node starts with a substring
toArgumentMatcher() - Method in class uk.org.webcompere.modelassert.json.impl.CoreJsonAssertion
Convert this to a mockito argument matcher in order to test JSON sent through to a method or provide responses based on JSON
toCondition() - Method in class uk.org.webcompere.modelassert.json.condition.ConditionList
Convert the list into a composite AND condition
toString() - Method in class uk.org.webcompere.modelassert.json.condition.tree.Location
 
toString() - Method in class uk.org.webcompere.modelassert.json.condition.tree.PathMatch
 
toString() - Method in class uk.org.webcompere.modelassert.json.condition.tree.PathRule
 
toString() - Method in class uk.org.webcompere.modelassert.json.condition.tree.RegexPathMatcher
 
toString() - Method in class uk.org.webcompere.modelassert.json.condition.tree.StringPathMatcher
 
toString() - Method in class uk.org.webcompere.modelassert.json.condition.tree.WildCardPathMatcher
 
TreeComparisonCondition - Class in uk.org.webcompere.modelassert.json.condition.tree
Compare with a whole JSON structure
TreeComparisonDsl<A> - Interface in uk.org.webcompere.modelassert.json.dsl.nodespecific
Assertions comparing one tree with another
TreeRule - Enum Class in uk.org.webcompere.modelassert.json.condition.tree
 

U

uk.org.webcompere.modelassert.json - package uk.org.webcompere.modelassert.json
 
uk.org.webcompere.modelassert.json.assertjson - package uk.org.webcompere.modelassert.json.assertjson
 
uk.org.webcompere.modelassert.json.condition - package uk.org.webcompere.modelassert.json.condition
 
uk.org.webcompere.modelassert.json.condition.array - package uk.org.webcompere.modelassert.json.condition.array
 
uk.org.webcompere.modelassert.json.condition.tree - package uk.org.webcompere.modelassert.json.condition.tree
 
uk.org.webcompere.modelassert.json.dsl - package uk.org.webcompere.modelassert.json.dsl
 
uk.org.webcompere.modelassert.json.dsl.nodespecific - package uk.org.webcompere.modelassert.json.dsl.nodespecific
 
uk.org.webcompere.modelassert.json.dsl.nodespecific.tree - package uk.org.webcompere.modelassert.json.dsl.nodespecific.tree
 
uk.org.webcompere.modelassert.json.hamcrest - package uk.org.webcompere.modelassert.json.hamcrest
 
uk.org.webcompere.modelassert.json.impl - package uk.org.webcompere.modelassert.json.impl
 

V

valueOf(String) - Static method in enum class uk.org.webcompere.modelassert.json.condition.NumberCondition.Comparison
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class uk.org.webcompere.modelassert.json.condition.tree.TreeRule
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class uk.org.webcompere.modelassert.json.PathWildCard
Returns the enum constant of this class with the specified name.
values() - Static method in enum class uk.org.webcompere.modelassert.json.condition.NumberCondition.Comparison
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class uk.org.webcompere.modelassert.json.condition.tree.TreeRule
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class uk.org.webcompere.modelassert.json.PathWildCard
Returns an array containing the constants of this enum class, in the order they are declared.

W

where() - Method in interface uk.org.webcompere.modelassert.json.dsl.nodespecific.TreeComparisonDsl
 
WhereDsl<A> - Class in uk.org.webcompere.modelassert.json.dsl.nodespecific.tree
The DSL for the Where Context
WhereDsl(Satisfies<A>) - Constructor for class uk.org.webcompere.modelassert.json.dsl.nodespecific.tree.WhereDsl
Construct with the assertion to return to
WildCardPathMatcher - Class in uk.org.webcompere.modelassert.json.condition.tree
 
WildCardPathMatcher(PathWildCard) - Constructor for class uk.org.webcompere.modelassert.json.condition.tree.WildCardPathMatcher
 
withNewDescription(String) - Method in class uk.org.webcompere.modelassert.json.Result
Change the description of the condition
withPreCondition(String) - Method in class uk.org.webcompere.modelassert.json.Result
Add a prefix to the condition description
withRules(List<PathRule>) - Method in class uk.org.webcompere.modelassert.json.condition.tree.TreeComparisonCondition
Add rules to the comparison

Y

yaml() - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin a hamcrest matcher based on a yaml String
yamlFile() - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin a hamcrest matcher based on a yaml file
yamlFilePath() - Static method in class uk.org.webcompere.modelassert.json.JsonAssertions
Begin a hamcrest matcher based on a yaml file via Path
yamlFileProvider() - Static method in class uk.org.webcompere.modelassert.json.JsonProviders
A provider which parses a yaml file to JsonNode
yamlPathProvider() - Static method in class uk.org.webcompere.modelassert.json.JsonProviders
A provider which parses a yaml file to JsonNode
yamlStringProvider() - Static method in class uk.org.webcompere.modelassert.json.JsonProviders
A provider which parses a yaml string to JsonNode
A B C D E F G H I J K L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages