### Question:
NullaryPredicatePredicate implements Predicate<A> { public static <A> NullaryPredicatePredicate<A> adapt(NullaryPredicate predicate) { return null == predicate ? null : new NullaryPredicatePredicate<A>(predicate); } NullaryPredicatePredicate(NullaryPredicate predicate); boolean test(Object obj); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static NullaryPredicatePredicate<A> adapt(NullaryPredicate predicate);  }### Answer:
@Test public void testAdaptNull() throws Exception { assertNull(NullaryPredicatePredicate.adapt(null)); }
@Test public void testAdapt() throws Exception { assertNotNull(NullaryPredicatePredicate.adapt(Constant.TRUE)); }