### Question:
ResourceService { public Set<ResourceDto> findResourceByRoleIds(List<String> resId) { return Optional.ofNullable(resourceDao.findResourceByRoleIds(resId)) .map(resourceMapper::toDto) .orElseThrow(ResourceNotFoundException::new); } @Autowired  ResourceService(ResourceDao resourceDao,
	                       RoleResourceDao roleResourceDao,
	                       ResourceMapper resourceMapper); List<ResourceDto> findResourceByCondition(ResourceDto resourceDto, QueryVO queryVO); ResourceDto findResourceById(String resId); Set<ResourceDto> findResourceByRoleIds(List<String> resId); void saveOrUpdate(ResourceDto resourceDto); void deleteByIds(List<String> resId);  }### Answer:
@Test public void findResourceByRoleIds() { Set<ResourceDto> resourceByRoleIds = resourceService.findResourceByRoleIds(Arrays.asList("1119477963140296706")); Assert.assertNotNull(resourceByRoleIds); }