### Question:
BoundNullaryProcedure implements NullaryProcedure { public static <A> BoundNullaryProcedure bind(Procedure<? super A> procedure, A arg) { return null == procedure ? null : new BoundNullaryProcedure(procedure, arg); } @SuppressWarnings("unchecked") <A> BoundNullaryProcedure(Procedure<? super A> procedure, A arg); void run(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static BoundNullaryProcedure bind(Procedure<? super A> procedure, A arg);  }### Answer:
@Test public void testAdaptNull() throws Exception { assertNull(BoundNullaryProcedure.bind(null,"xyzzy")); }
@Test public void testAdapt() throws Exception { assertNotNull(BoundNullaryProcedure.bind(new NoOp(),"xyzzy")); assertNotNull(BoundNullaryProcedure.bind(new NoOp(),null)); }