ExecutableSectionpublic class IsTrueAssertion extends Assertion
XCONTENT_REGISTRY| Constructor | Description |
|---|---|
IsTrueAssertion(XContentLocation location,
java.lang.String field) |
| 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 IsTrueAssertion |
parse(XContentParser parser) |
execute, getActualValue, getExpectedValue, getField, getLocation, resolveExpectedValue, safeClasspublic IsTrueAssertion(XContentLocation location, java.lang.String field)
public static IsTrueAssertion parse(XContentParser parser) throws java.io.IOException
java.io.IOException