java.lang.Object
uk.org.webcompere.modelassert.json.condition.Ignore
All Implemented Interfaces:
Condition

public class Ignore extends Object implements Condition
This condition always passes, ignoring its input
  • Constructor Details

    • Ignore

      public Ignore()
  • Method Details

    • test

      public Result test(com.fasterxml.jackson.databind.JsonNode json)
      Description copied from interface: Condition
      Execute the test of the condition
      Specified by:
      test in interface Condition
      Parameters:
      json - the json to test
      Returns:
      a Result explaining whether the condition was met and if not, why not
    • describe

      public String describe()
      Description copied from interface: Condition
      Describe the condition
      Specified by:
      describe in interface Condition
      Returns:
      description of the condition