Class IsTrueAssertion

  • All Implemented Interfaces:
    ExecutableSection

    public class IsTrueAssertion
    extends Assertion
    Represents an is_true assert section: - is_true: get.fields.bar
    • Constructor Detail

      • IsTrueAssertion

        public IsTrueAssertion​(XContentLocation location,
                               java.lang.String field)
    • Method Detail

      • doAssert

        protected void doAssert​(java.lang.Object actualValue,
                                java.lang.Object expectedValue)
        Description copied from class: Assertion
        Executes the assertion comparing the actual value (parsed from the response) with the expected one
        Specified by:
        doAssert in class Assertion