### Question:
ResourceService { public ResourceDto findResourceById(String resId) { return resourceDao.findById(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 findResourceById() { ResourceDto resourceById = resourceService.findResourceById("1136504053649920002"); Assert.assertNotNull(resourceById); }