### Question:
WorkItemDefinitionStandaloneClientService implements WorkItemDefinitionClientService { @Produces @Default @Override public WorkItemDefinitionRegistry getRegistry() { return registry; } @Inject  WorkItemDefinitionStandaloneClientService(final Promises promises,
                                                     final WorkItemDefinitionCacheRegistry registry,
                                                     final ResourceContentService resourceContentService,
                                                     final WorkItemIconCache workItemIconCache); @PostConstruct void init(); @Produces @Default @Override WorkItemDefinitionRegistry getRegistry(); @Override Promise<Collection<WorkItemDefinition>> call(final Metadata input); @PreDestroy void destroy();  }### Answer:
@Test public void testGetRegistry() { tested.init(); assertEquals(registry, tested.getRegistry()); }