### Question:
ResourceService implements IResourceService { @Override public Set<Resource> findAll() { return resourceMapper.findAll(); }  @Override Set<Resource> findAll(); @Override Set<Resource> queryByRoleCodes(String[] roleCodes);  }### Answer:
@Test public void testFindAll_假如已配置有资源_当获取所有时_那么可以获取到所有资源集合() { Set<Resource> resources = resourceService.findAll(); Assert.assertThat(resources.size(), greaterThan(2)); }