### Question:
PermissionService { public List<PermissionRespDto> findAll(String name) { Permission model=new Permission(); model.setName(name); ExampleMatcher matcher = ExampleMatcher.matching() .withMatcher("name", match->match.startsWith()); Example<Permission> example = Example.of(model, matcher); List<Permission> permissions = this.permissionRepository.findAll(example, Sort.by("sort")); List<PermissionRespDto> permissionRes = permissions.stream() .map(permission -> buildPermissionDto(permission)).collect(Collectors.toList()); return buildTreeMenu(permissionRes); }  @Transactional boolean savePermission(PermissionReqDto permissionReqDto); @Transactional boolean deletePermission(int id); @Transactional boolean changePermissionStatus(int id, boolean active); @Transactional boolean updatePermission(int id, PermissionReqDto permissionReqDto); PermissionRespDto findPermissionDetail(int id); List<PermissionRespDto> findAll(String name);  }### Answer:
@Test public void findAll() throws Exception { List<PermissionRespDto> menus = this.permissionService.findAll(null); System.out.println(menus); }