void (Set<String> expectedThings) { final Set<String> actualThings = new HashSet<>(); for (Thing t : Thing.makeThings()) { actualThings.add(t.getName()); } assertEquals(expectedThings, actualThings); }