@Test public void returnsPredicateWhichEvaluatesFalseWhenPassedNonNullObject() { assertThat(whereNull().evaluate(new Object()), is(false)); }
public static UnaryPredicate<Object> whereNull() { return new UnaryPredicate<Object>() { @Override public boolean evaluate(Object input) { return isNull(input); } }; }
Objects { public static UnaryPredicate<Object> whereNull() { return new UnaryPredicate<Object>() { @Override public boolean evaluate(Object input) { return isNull(input); } }; } }
Objects { public static UnaryPredicate<Object> whereNull() { return new UnaryPredicate<Object>() { @Override public boolean evaluate(Object input) { return isNull(input); } }; }  }
Objects { public static UnaryPredicate<Object> whereNull() { return new UnaryPredicate<Object>() { @Override public boolean evaluate(Object input) { return isNull(input); } }; }  static boolean isNull(Object value); static boolean isNotNull(Object value); static UnaryPredicate<Object> whereNull(); static UnaryPredicate<Object> whereNotNull(); static Mapper<Object, String> toStringValue(); static Mapper<T, String> toStringValueFor(@SuppressWarnings("unused") Class<T> targetClass); }
Objects { public static UnaryPredicate<Object> whereNull() { return new UnaryPredicate<Object>() { @Override public boolean evaluate(Object input) { return isNull(input); } }; }  static boolean isNull(Object value); static boolean isNotNull(Object value); static UnaryPredicate<Object> whereNull(); static UnaryPredicate<Object> whereNotNull(); static Mapper<Object, String> toStringValue(); static Mapper<T, String> toStringValueFor(@SuppressWarnings("unused") Class<T> targetClass);  }