### Question:
BoundNullaryFunction implements NullaryFunction<T> { public T evaluate() { return function.evaluate(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 testEvaluate() throws Exception { NullaryFunction<Object> f = new BoundNullaryFunction<Object>(Identity.INSTANCE,"xyzzy"); assertEquals("xyzzy",f.evaluate()); }