### Question:
ClusterTemplateViewService extends AbstractWorkspaceAwareResourceService<ClusterTemplateView> { public Set<ClusterTemplateView> findAllActive(Long workspaceId) { return repository.findAllActive(workspaceId); }  Set<ClusterTemplateView> findAllActive(Long workspaceId);  }### Answer:
@Test public void testWhenFindAllAvailableViewInWorkspaceIsCalledThenItsResultSetShouldBeReturnedWithoutFiltering() { ClusterTemplateView repositoryResult = new ClusterTemplateView(); Set<ClusterTemplateView> resultSetFromRepository = Set.of(repositoryResult); when(repository.findAllActive(WORKSPACE_ID)).thenReturn(resultSetFromRepository); Set<ClusterTemplateView> result = underTest.findAllActive(WORKSPACE_ID); assertNotNull(result); assertEquals(resultSetFromRepository.size(), result.size()); assertTrue(resultSetFromRepository.containsAll(result)); verify(repository, times(1)).findAllActive(anyLong()); verify(repository, times(1)).findAllActive(WORKSPACE_ID); }