### Question:
IgnoreRightPredicate implements BinaryPredicate<L, R> { public boolean test(L left, R right) { return predicate.test(left); } IgnoreRightPredicate(Predicate<? super L> predicate); boolean test(L left, R right); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static IgnoreRightPredicate<L, R> adapt(Predicate<? super L> predicate);  }### Answer:
@Test public void testEvaluate() throws Exception { BinaryPredicate<Boolean, Object> p = new IgnoreRightPredicate<Boolean, Object>( new FunctionPredicate<Boolean>(Identity.<Boolean> instance())); assertTrue(p.test(Boolean.TRUE,null)); assertTrue(!p.test(Boolean.FALSE,null)); }