@Test public void testGetQualifier() { tested.getQualifier().apply("q1"); verify(definitionUtils, times(1)).getQualifier(eq("q1")); tested.getQualifier().apply("q2"); verify(definitionUtils, times(1)).getQualifier(eq("q2")); }
@Override protected Function<String, Annotation> getQualifier() { return definitionUtils::getQualifier; }
ClientProfileManager extends AbstractProfileManager { @Override protected Function<String, Annotation> getQualifier() { return definitionUtils::getQualifier; } }
ClientProfileManager extends AbstractProfileManager { @Override protected Function<String, Annotation> getQualifier() { return definitionUtils::getQualifier; } @Inject  ClientProfileManager(final DefinitionUtils definitionUtils,
                                final @Any ManagedInstance<Profile> profileInstances); }
ClientProfileManager extends AbstractProfileManager { @Override protected Function<String, Annotation> getQualifier() { return definitionUtils::getQualifier; } @Inject  ClientProfileManager(final DefinitionUtils definitionUtils,
                                final @Any ManagedInstance<Profile> profileInstances); @PreDestroy void destroy(); }
ClientProfileManager extends AbstractProfileManager { @Override protected Function<String, Annotation> getQualifier() { return definitionUtils::getQualifier; } @Inject  ClientProfileManager(final DefinitionUtils definitionUtils,
                                final @Any ManagedInstance<Profile> profileInstances); @PreDestroy void destroy();  }