### Question:
BoundNullaryPredicate implements NullaryPredicate { public boolean test() { return predicate.test(param); } @SuppressWarnings("unchecked") <A> BoundNullaryPredicate(Predicate<? super A> predicate, A arg); boolean test(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static BoundNullaryPredicate bind(Predicate<? super A> predicate, A arg);  }### Answer:
@Test public void testTest() throws Exception { { NullaryPredicate p = new BoundNullaryPredicate(new FunctionPredicate<Boolean>(Identity.<Boolean>instance()),Boolean.TRUE); assertTrue(p.test()); } { NullaryPredicate p = new BoundNullaryPredicate(new FunctionPredicate<Boolean>(Identity.<Boolean>instance()),Boolean.FALSE); assertFalse(p.test()); } }