@Test public void testDestroy() { tested.destroy(); verify(domainLookupsManagedInstances, times(1)).destroyAll(); }
@PreDestroy public void destroy() { domainLookups.clear(); domainLookupInstances.destroyAll(); }
ToolboxDomainLookups { @PreDestroy public void destroy() { domainLookups.clear(); domainLookupInstances.destroyAll(); } }
ToolboxDomainLookups { @PreDestroy public void destroy() { domainLookups.clear(); domainLookupInstances.destroyAll(); } protected  ToolboxDomainLookups(); @Inject  ToolboxDomainLookups(final ManagedInstance<CommonDomainLookups> domainLookupInstances); }
ToolboxDomainLookups { @PreDestroy public void destroy() { domainLookups.clear(); domainLookupInstances.destroyAll(); } protected  ToolboxDomainLookups(); @Inject  ToolboxDomainLookups(final ManagedInstance<CommonDomainLookups> domainLookupInstances); CommonDomainLookups get(final String definitionSetId); @PreDestroy void destroy(); }
ToolboxDomainLookups { @PreDestroy public void destroy() { domainLookups.clear(); domainLookupInstances.destroyAll(); } protected  ToolboxDomainLookups(); @Inject  ToolboxDomainLookups(final ManagedInstance<CommonDomainLookups> domainLookupInstances); CommonDomainLookups get(final String definitionSetId); @PreDestroy void destroy();  }