### Question:
RoleService { public RoleDto findRoleById(String roleId) { return roleDao.findById(roleId).map(role -> { RoleDto roleDto = roleMapper.toDto(role); roleDto.setResources(resourceMapper.toDto( resourceDao.findResourceByRoleIds(Collections.singletonList(role.getId())) )); return roleDto; }).orElseThrow(ResourceNotFoundException::new); } RoleService(RoleDao roleDao,
	                   RoleResourceDao roleResourceDao,
	                   UserRoleDao userRoleDao,
	                   RoleMapper roleMapper,
	                   JPAQueryFactory jpaQueryFactory, ResourceDao resourceDao, ResourceMapper resourceMapper); QueryResults<Role> findRuleByCondition(RoleDto roleDto, QueryVO queryVO); List<RoleDto> getUseRoles(String id); RoleDto findRoleById(String roleId); void saveOrUpdate(RoleDto roleDto); void deleteByIds(List<String> roleId);  }### Answer:
@Test public void findRoleById() { RoleDto roleById = roleService.findRoleById("1119477963140296706"); Assert.assertNotNull(roleById); }