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