### Question:
BlankPredicate implements Predicate<String> { @Override public boolean test(String value) { return StringUtils.isBlank(value); }  @Override boolean test(String value);  }### Answer:
@Test public void test() { BlankPredicate predicate = new BlankPredicate(); Assert.assertTrue(predicate.test(null)); Assert.assertTrue(predicate.test("")); Assert.assertTrue(predicate.test(" ")); Assert.assertTrue(predicate.test(" \n\t")); Assert.assertFalse(predicate.test("bob")); Assert.assertFalse(predicate.test(" bob ")); }