@GetMapping(params = "search=blur")
    @Secured(resource = AuthConstants.CONSOLE_RESOURCE_NAME_PREFIX + "roles", action = ActionTypes.READ)
    public Page<RoleInfo> fuzzySearchRole(@RequestParam int pageNo, @RequestParam int pageSize,
            @RequestParam(name = "username", defaultValue = "") String username,
            @RequestParam(name = "role", defaultValue = "") String role) {
        return roleService.findRolesLike4Page(username, role, pageNo, pageSize);
    }
@Test
    void testFuzzySearchRole() {
        
        Page<RoleInfo> rolesTest = new Page<RoleInfo>();
        
        when(roleService.findRolesLike4Page(anyString(), anyString(), anyInt(), anyInt())).thenReturn(rolesTest);
        
        Page<RoleInfo> roleInfoPage = roleController.fuzzySearchRole(1, 10, "nacos", "test");
        
        assertEquals(rolesTest, roleInfoPage);
    }