### Question:
BoundNullaryPredicate implements NullaryPredicate { public static <A> BoundNullaryPredicate bind(Predicate<? super A> predicate, A arg) { return null == predicate ? null : new BoundNullaryPredicate(predicate, arg); } @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 testAdaptNull() throws Exception { assertNull(BoundNullaryPredicate.bind(null,"xyzzy")); }
@Test public void testAdapt() throws Exception { assertNotNull(BoundNullaryPredicate.bind(Constant.TRUE,"xyzzy")); assertNotNull(BoundNullaryPredicate.bind(Constant.TRUE,null)); }