Class Predicates

java.lang.Object
org.assertj.core.internal.Predicates

public class Predicates extends Object
  • Field Details

  • Constructor Details

    • Predicates

      Predicates()
  • Method Details

    • instance

      public static Predicates instance()
      Returns the singleton instance of this class.
      Returns:
      the singleton instance of this class.
    • assertIsNotNull

      public void assertIsNotNull(Predicate<?> predicate)
      Asserts the given Predicate is not null.
      Parameters:
      predicate - the given Predicate.
      Throws:
      NullPointerException - if the given Predicate is null.