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