### Question:
WorkItemDefinitionProjectService implements WorkItemDefinitionLookupService { @Override public Collection<WorkItemDefinition> execute(final Metadata metadata) { return load(metadata).items(); } @SuppressWarnings("all") protected  WorkItemDefinitionProjectService(); @Inject  WorkItemDefinitionProjectService(final WorkItemDefinitionCacheRegistry registry,
                                            final WorkItemDefinitionVFSLookupService vfsService,
                                            final WorkItemDefinitionDeployServices deployServices);   WorkItemDefinitionProjectService(final WorkItemDefinitionCacheRegistry registry,
                                     final WorkItemDefinitionVFSLookupService vfsService,
                                     final WorkItemDefinitionDeployServices deployServices,
                                     final BiPredicate<Metadata, Collection<WorkItemDefinition>> deployPredicate); @Produces @Default WorkItemDefinitionRegistry getRegistry(); @Override Collection<WorkItemDefinition> execute(final Metadata metadata); @PreDestroy void destroy();  }### Answer:
@Test public void testExecute() { Collection<WorkItemDefinition> result = tested.execute(metadata); assertFalse(result.isEmpty()); assertEquals(2, result.size()); assertTrue(result.contains(wid1)); assertTrue(result.contains(wid2)); }