Class LessThanOrEqualToAssertion

  • All Implemented Interfaces:
    ExecutableSection

    public class LessThanOrEqualToAssertion
    extends Assertion
    Represents a lte assert section: - lte: { fields._ttl: 0 }
    • Constructor Detail

      • LessThanOrEqualToAssertion

        public LessThanOrEqualToAssertion​(XContentLocation location,
                                          java.lang.String field,
                                          java.lang.Object expectedValue)
    • 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