@Test public void testGetAllProfileInstances() { Iterable<Profile> profiles = tested.getAllProfileInstances(); Iterator<Profile> iterator = profiles.iterator(); assertEquals(profile1, iterator.next()); assertEquals(profile2, iterator.next()); assertFalse(iterator.hasNext()); }
@Override protected Iterable<Profile> getAllProfileInstances() { return profileInstances; }
ClientProfileManager extends AbstractProfileManager { @Override protected Iterable<Profile> getAllProfileInstances() { return profileInstances; } }
ClientProfileManager extends AbstractProfileManager { @Override protected Iterable<Profile> getAllProfileInstances() { return profileInstances; } @Inject  ClientProfileManager(final DefinitionUtils definitionUtils,
                                final @Any ManagedInstance<Profile> profileInstances); }
ClientProfileManager extends AbstractProfileManager { @Override protected Iterable<Profile> getAllProfileInstances() { return profileInstances; } @Inject  ClientProfileManager(final DefinitionUtils definitionUtils,
                                final @Any ManagedInstance<Profile> profileInstances); @PreDestroy void destroy(); }
ClientProfileManager extends AbstractProfileManager { @Override protected Iterable<Profile> getAllProfileInstances() { return profileInstances; } @Inject  ClientProfileManager(final DefinitionUtils definitionUtils,
                                final @Any ManagedInstance<Profile> profileInstances); @PreDestroy void destroy();  }