@Test public void should_test_generic() { assertThat(new SearchTerm("Bla").test(genericTest)).isTrue(); assertThat(new SearchTerm("bla").test(genericTest)).isFalse(); assertThat(new SearchTerm("3742").test(genericTest)).isFalse(); assertThat(new SearchTerm("locati").test(genericTest)).isTrue(); }
public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); }
SearchTerm implements Predicate<ValidatedRoaPrefix> { public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); } }
SearchTerm implements Predicate<ValidatedRoaPrefix> { public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); } SearchTerm(String term); }
SearchTerm implements Predicate<ValidatedRoaPrefix> { public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); } SearchTerm(String term); Long asAsn(); IpRange asIpRange(); String asString(); boolean test(ValidatedRoaPrefix prefix); }
SearchTerm implements Predicate<ValidatedRoaPrefix> { public boolean test(ValidatedRoaPrefix prefix) { return actualPredicate.test(prefix); } SearchTerm(String term); Long asAsn(); IpRange asIpRange(); String asString(); boolean test(ValidatedRoaPrefix prefix);  }