ExecutableSectionpublic class GreaterThanAssertion extends Assertion
- gt: { fields._ttl: 0}
XCONTENT_REGISTRY| Constructor | Description |
|---|---|
GreaterThanAssertion(XContentLocation location,
java.lang.String field,
java.lang.Object expectedValue) |
| Modifier and Type | Method | 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 GreaterThanAssertion |
parse(XContentParser parser) |
execute, getActualValue, getExpectedValue, getField, getLocation, resolveExpectedValue, safeClasspublic GreaterThanAssertion(XContentLocation location, java.lang.String field, java.lang.Object expectedValue)
public static GreaterThanAssertion parse(XContentParser parser) throws java.io.IOException
java.io.IOException