### Question:
ExamplesServiceImpl extends BaseProjectImportService implements ExamplesService { void setPlaygroundRepository(final ExampleRepository playgroundRepository) { this.playgroundRepository = playgroundRepository; } @Inject  ExamplesServiceImpl(final @Named("ioStrategy") IOService ioService,
                               final RepositoryFactory repositoryFactory,
                               final KieModuleService moduleService,
                               final OrganizationalUnitService ouService,
                               final WorkspaceProjectService projectService,
                               final MetadataService metadataService,
                               final Event<NewProjectEvent> newProjectEvent,
                               final ProjectScreenService projectScreenService,
                               final ImportProjectValidators validators,
                               final SpaceConfigStorageRegistry spaceConfigStorageRegistry,
                               final @Named("systemFS") FileSystem systemFS,
                               final PathUtil pathUtil,
                               final RepositoryService repoService); @PostConstruct void initPlaygroundRepository(); @Override ExamplesMetaData getMetaData(); @Override ExampleRepository getPlaygroundRepository(); @Override WorkspaceProjectContextChangeEvent setupExamples(final ExampleOrganizationalUnit exampleTargetOU,
                                                            final List<ImportProject> importProjects); @Override Set<ImportProject> getExampleProjects(OrganizationalUnit targetOu); @Override int priority(); @Override void dispose();  }### Answer:
@Test public void testGetProjects_DefaultDescription() { final Path moduleRoot = mock(Path.class); final KieModule module = mock(KieModule.class); when(module.getRootPath()).thenReturn(moduleRoot); when(module.getModuleName()).thenReturn("module1"); when(moduleRoot.toURI()).thenReturn("default: when(metadataService.getTags(any(Path.class))).thenReturn(Arrays.asList("tag1", "tag2")); final GitRepository repository = makeGitRepository(); when(repositoryFactory.newRepository(any(RepositoryInfo.class))).thenReturn(repository); when(moduleService.getAllModules(any(Branch.class))).thenReturn(new HashSet<Module>() {{ add(module); }}); service.setPlaygroundRepository(mock(ExampleRepository.class)); String origin = "https: final Set<ImportProject> modules = service.getProjects(ou, new ExampleRepository(origin)); assertNotNull(modules); assertEquals(1, modules.size()); assertTrue(modules.contains(new ImportProject(moduleRoot, "module1", "Example 'module1' module", origin, Arrays.asList("tag1", "tag2"), null, Collections.emptyList(), false))); }