SpecificationManager { public Set<Specification> getAll() { return new HashSet<>(descriptions.values()); }  Set<Specification> getAll(); Specification getByName(String name);  }
@Test public void testGetAll() { SpecificationManager manager = new SpecificationManager(); Set<Specification> descriptions = manager.getAll(); Assert.assertTrue(descriptions.size() > 0); }