Validations extends HashSet<Validation> { public boolean allowsUnrecognizedPaths() { return allowUnrecognizedPaths; } private  Validations(); static ValidationBuilder single(); static ValidationsBuilder builder(); boolean allowsUnrecognizedPaths(); Set<String> getOwnValidatingPaths();  }
@Test public void testAllowsUnrecognizedPaths() { Validations v = Validations.builder() .allowUnrecognizedPaths() .build(); assertTrue(v.allowsUnrecognizedPaths()); }