### Question:
NullaryPredicatePredicate implements Predicate<A> { public boolean test(Object obj) { return predicate.test(); } 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 testEvaluate() throws Exception { Predicate<Object> p = new NullaryPredicatePredicate<Object>(Constant.TRUE); assertTrue(p.test(null)); }