@Test public void should_not_find_any_property_set_to_obsolete_with_validators() { assertEquals( 0, StandardPropertyFactory .getAll() .stream() .filter(p -> p.isObsolete() && p.hasValidators()) .collect(Collectors.toList()) .size()); }
public static List<StandardProperty> getAll() { return new ArrayList<>(ALL.values()); }
StandardPropertyFactory { public static List<StandardProperty> getAll() { return new ArrayList<>(ALL.values()); } }
StandardPropertyFactory { public static List<StandardProperty> getAll() { return new ArrayList<>(ALL.values()); } private  StandardPropertyFactory(); }
StandardPropertyFactory { public static List<StandardProperty> getAll() { return new ArrayList<>(ALL.values()); } private  StandardPropertyFactory(); static StandardProperty getByName(String propertyName); static List<StandardProperty> getAll(); }
StandardPropertyFactory { public static List<StandardProperty> getAll() { return new ArrayList<>(ALL.values()); } private  StandardPropertyFactory(); static StandardProperty getByName(String propertyName); static List<StandardProperty> getAll();  }