### Question:
ConditionalPredicate implements Predicate<A> { public boolean test(A obj) { return ifPred.test(obj) ? thenPred.test(obj) : elsePred.test(obj); } ConditionalPredicate(Predicate<? super A> ifPred, Predicate<? super A> thenPred,
            Predicate<? super A> elsePred); boolean test(A obj); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testTest() throws Exception { ConditionalPredicate<Object> p = new ConditionalPredicate<Object>( Identity.INSTANCE, Constant.TRUE, Constant.FALSE); assertTrue(p.test(Boolean.TRUE)); assertTrue(!p.test(Boolean.FALSE)); }