Class GreaterThanEqualToAssertion

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

public class GreaterThanEqualToAssertion
extends Assertion
Represents a gte assert section: - gte: { fields._ttl: 0 }
  • Constructor Details

    • GreaterThanEqualToAssertion

      public GreaterThanEqualToAssertion​(org.elasticsearch.common.xcontent.XContentLocation location, java.lang.String field, java.lang.Object expectedValue)
  • Method Details

    • parse

      public static GreaterThanEqualToAssertion parse​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException
    • 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