Class IsFalseAssertion

java.lang.Object
org.elasticsearch.test.rest.yaml.section.Assertion
org.elasticsearch.test.rest.yaml.section.IsFalseAssertion
All Implemented Interfaces:
ExecutableSection

public class IsFalseAssertion extends Assertion
Represents an is_false assert section: - is_false: get.fields.bar
  • Constructor Details

    • IsFalseAssertion

      public IsFalseAssertion(org.elasticsearch.xcontent.XContentLocation location, String field)
  • Method Details

    • parse

      public static IsFalseAssertion parse(org.elasticsearch.xcontent.XContentParser parser) throws IOException
      Throws:
      IOException
    • doAssert

      protected void doAssert(Object actualValue, 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