### Question:
AbstractProfileManager implements ProfileManager { @Override public Collection<Profile> getAllProfiles() { final List<Profile> result = new ArrayList<>(); getAllProfileInstances().forEach(result::add); return result; }  @Override Collection<Profile> getAllProfiles(); @Override Profile getProfile(final String id); @Override Collection<Profile> getProfiles(final String definitionSetId); @Override Profile getProfile(final String definitionSetId,
                              final String id);  }### Answer:
@Test public void testGetAllProfiles() { Collection<Profile> allProfiles = tested.getAllProfiles(); assertEquals(2, allProfiles.size()); assertTrue(allProfiles.contains(defaultProfile)); assertTrue(allProfiles.contains(domainProfile)); }