@GetMapping(params = "search=blur")
    @Secured(resource = AuthConstants.CONSOLE_RESOURCE_NAME_PREFIX + "permissions", action = ActionTypes.READ)
    public Page<PermissionInfo> fuzzySearchPermission(@RequestParam int pageNo, @RequestParam int pageSize,
            @RequestParam(name = "role", defaultValue = StringUtils.EMPTY) String role) {
        return nacosRoleService.findPermissionsLike4Page(role, pageNo, pageSize);
    }
@Test
    void testFuzzySearchPermission() {
        Page<PermissionInfo> permissionInfoPage = new Page<PermissionInfo>();
        
        when(nacosRoleService.findPermissionsLike4Page(anyString(), anyInt(), anyInt())).thenReturn(permissionInfoPage);
        
        Page<PermissionInfo> permissions = permissionController.fuzzySearchPermission(1, 10, "admin");
        assertEquals(permissionInfoPage, permissions);
    }