TradeNamePredicate implements Predicate<String> { @Override public boolean test(String t) { return t != null && !registrationIdentifier.test(t); }  @Override boolean test(String t);  }
@Test public void testNull() { assertFalse(predicate.test(null)); }
@Test public void testTrue() { assertTrue(predicate.test("ABC12")); }
@Test public void testFalse() { assertFalse(predicate.test("VAT123")); assertFalse(predicate.test("TIN123")); }