@Override
    public boolean hasGlobalAdminRole(String username) {
        return roleService.hasGlobalAdminRole(username);
    }
@Test
    void testHasGlobalAdminRole4() {
        NacosUser nacosUser = new NacosUser("nacos");
        nacosUser.setGlobalAdmin(false);
        when(roleService.hasGlobalAdminRole(anyString())).thenReturn(true);
        boolean hasGlobalAdminRole = abstractAuthenticationManager.hasGlobalAdminRole(nacosUser);
        
        assertTrue(hasGlobalAdminRole);
    }