### Question:
BinaryPredicateBinaryFunction implements BinaryFunction<L, R, Boolean> { public static <L, R> BinaryPredicateBinaryFunction<L, R> adapt(BinaryPredicate<? super L, ? super R> predicate) { return null == predicate ? null : new BinaryPredicateBinaryFunction<L, R>(predicate); } BinaryPredicateBinaryFunction(BinaryPredicate<? super L, ? super R> predicate); Boolean evaluate(L left, R right); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static BinaryPredicateBinaryFunction<L, R> adapt(BinaryPredicate<? super L, ? super R> predicate);  }### Answer:
@Test public void testAdaptNull() throws Exception { assertNull(BinaryPredicateBinaryFunction.adapt(null)); }
@Test public void testAdapt() throws Exception { assertNotNull(BinaryPredicateBinaryFunction.adapt(Constant.TRUE)); }