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