public class LessThanAssertion extends Assertion
XCONTENT_REGISTRY
Constructor and Description |
---|
LessThanAssertion(org.elasticsearch.common.xcontent.XContentLocation location,
java.lang.String field,
java.lang.Object expectedValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
doAssert(java.lang.Object actualValue,
java.lang.Object expectedValue)
Executes the assertion comparing the actual value (parsed from the response) with the expected one
|
static LessThanAssertion |
parse(org.elasticsearch.common.xcontent.XContentParser parser) |
execute, getActualValue, getExpectedValue, getField, getLocation, resolveExpectedValue, safeClass
public LessThanAssertion(org.elasticsearch.common.xcontent.XContentLocation location, java.lang.String field, java.lang.Object expectedValue)
public static LessThanAssertion parse(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
java.io.IOException