Class ArrayElementConditionAdapter
java.lang.Object
uk.org.webcompere.modelassert.json.condition.array.ArrayElementConditionAdapter
- All Implemented Interfaces:
ArrayElementCondition
Convert a normal element condition into an array element condition
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ArrayElementConditionAdapter
-
-
Method Details
-
test
Description copied from interface:ArrayElementConditionExecute the test of the condition- Specified by:
testin interfaceArrayElementCondition- Parameters:
json- the json to test- Returns:
- a
Resultexplaining whether the condition was met and if not, why not
-
describe
Description copied from interface:ArrayElementConditionDescribe the condition- Specified by:
describein interfaceArrayElementCondition- Returns:
- description of the condition
-