public interface LocationAwareValueMatcher<T> extends ValueMatcher<T>
Modifier and Type | Method and Description |
---|---|
boolean |
equal(String prefix,
T actual,
T expected,
JSONCompareResult result)
Match actual value with expected value.
|
equal
boolean equal(String prefix, T actual, T expected, JSONCompareResult result) throws ValueMatcherException
prefix
- JSON path of the JSON item being testedactual
- JSON value being testedexpected
- expected JSON valueresult
- JSONCompareResult to which match failure may be passedValueMatcherException
- if expected and actual values not equal and ValueMatcher
needs to override default comparison failure message that
would be generated if this method returned false.Copyright © 2019. All rights reserved.