@Test public void number_of_obsolete_standard_at_rules() { assertEquals( 0, StandardAtRuleFactory.getAll() .stream() .filter(StandardAtRule::isObsolete) .collect(Collectors.toList()) .size()); }
public static List<StandardAtRule> getAll() { return new ArrayList<>(ALL.values()); }
StandardAtRuleFactory { public static List<StandardAtRule> getAll() { return new ArrayList<>(ALL.values()); } }
StandardAtRuleFactory { public static List<StandardAtRule> getAll() { return new ArrayList<>(ALL.values()); } private  StandardAtRuleFactory(); }
StandardAtRuleFactory { public static List<StandardAtRule> getAll() { return new ArrayList<>(ALL.values()); } private  StandardAtRuleFactory(); static StandardAtRule getByName(String atRuleName); static List<StandardAtRule> getAll(); }
StandardAtRuleFactory { public static List<StandardAtRule> getAll() { return new ArrayList<>(ALL.values()); } private  StandardAtRuleFactory(); static StandardAtRule getByName(String atRuleName); static List<StandardAtRule> getAll();  }