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