Class IsNullPredicate

java.lang.Object
org.xmlunit.util.IsNullPredicate
All Implemented Interfaces:
Predicate<Object>

public class IsNullPredicate extends Object implements Predicate<Object>
A function that tests whether an object is null.
  • Constructor Details

    • IsNullPredicate

      public IsNullPredicate()
  • Method Details

    • test

      public boolean test(Object toTest)
      Description copied from interface: Predicate
      Performs the test.
      Specified by:
      test in interface Predicate<Object>
      Parameters:
      toTest - the object to test
      Returns:
      true if the test is successful