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