### Question:
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();  }### Answer:
@Test public void testDestroy() { tested.destroy(); verify(domainLookupsManagedInstances, times(1)).destroyAll(); }