### Question:
FunctionProcedure implements Procedure<A> { public static <A> FunctionProcedure<A> adapt(Function<? super A, ?> function) { return null == function ? null : new FunctionProcedure<A>(function); } FunctionProcedure(Function<? super A, ?> function); void run(A obj); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static FunctionProcedure<A> adapt(Function<? super A, ?> function);  }### Answer:
@Test public void testAdaptNull() throws Exception { assertNull(FunctionProcedure.adapt(null)); }
@Test public void testAdapt() throws Exception { assertNotNull(FunctionProcedure.adapt(Constant.of("K"))); }