### Question:
IgnoreRightProcedure implements BinaryProcedure<L, R> { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof IgnoreRightProcedure<?, ?>)) { return false; } IgnoreRightProcedure<?, ?> that = (IgnoreRightProcedure<?, ?>) obj; return this.procedure.equals(that.procedure); } IgnoreRightProcedure(Procedure<? super L> procedure); void run(L left, R right); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static IgnoreRightProcedure<L, R> adapt(Procedure<? super L> procedure);  }### Answer:
@Test public void testEquals() throws Exception { BinaryProcedure<Object, Object> p = new IgnoreRightProcedure<Object, Object>(NoOp.INSTANCE); assertEquals(p,p); assertObjectsAreEqual(p,new IgnoreRightProcedure<Object, Object>(NoOp.INSTANCE)); assertObjectsAreNotEqual(p,NoOp.INSTANCE); assertObjectsAreNotEqual(p,new IgnoreRightProcedure<Object, Object>(new Procedure<Object>() { public void run(Object obj) { } })); assertTrue(!p.equals(null)); }