### Question:
BoundNullaryFunction implements NullaryFunction<T> { public static <A, T> BoundNullaryFunction<T> bind(Function<? super A, ? extends T> function, A arg) { return null == function ? null : new BoundNullaryFunction<T>(function, arg); } @SuppressWarnings("unchecked") <A> BoundNullaryFunction(Function<? super A, ? extends T> function, A arg); T evaluate(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static BoundNullaryFunction<T> bind(Function<? super A, ? extends T> function, A arg);  }### Answer:
@Test public void testAdaptNull() throws Exception { assertNull(BoundNullaryFunction.bind(null,"xyzzy")); }
@Test public void testAdapt() throws Exception { assertNotNull(BoundNullaryFunction.bind(Identity.INSTANCE,"xyzzy")); assertNotNull(BoundNullaryFunction.bind(Identity.INSTANCE,null)); }