### Question:
NoOp implements NullaryProcedure, Procedure<Object>, BinaryProcedure<Object, Object> { public void run() { } NoOp(); void run(); void run(Object obj); void run(Object left, Object right); @Override boolean equals(Object that); @Override int hashCode(); @Override String toString(); static NoOp instance(); @SuppressWarnings("unchecked") static Procedure<A> unaryInstance(); @SuppressWarnings("unchecked") static BinaryProcedure<L, R> binaryInstance(); static final NoOp INSTANCE; }### Answer:
@Test public void testRun() throws Exception { NoOp p = new NoOp(); p.run(); p.run(null); p.run(null,null); p.run("foo"); p.run("foo",null); p.run(null,"bar"); p.run("foo","bar"); }