### Question:
BinaryFunctionFunction implements Function<A, T> { public static <A, T> Function<A, T> adapt(BinaryFunction<? super A, ? super A, ? extends T> function) { return null == function ? null : new BinaryFunctionFunction<A, T>(function); } BinaryFunctionFunction(BinaryFunction<? super A, ? super A, ? extends T> function); T evaluate(A obj); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static Function<A, T> adapt(BinaryFunction<? super A, ? super A, ? extends T> function);  }### Answer:
@Test public void testAdaptNull() throws Exception { assertNull(BinaryFunctionFunction.adapt(null)); }
@Test public void testAdapt() throws Exception { assertNotNull(BinaryFunctionFunction.adapt(Constant.TRUE)); }