protected Map<String, String> getSecurityHeaders(String namespace, String group, String serviceName) {
        RequestResource resource = RequestResource.namingBuilder().setNamespace(namespace).setGroup(group)
                .setResource(serviceName).build();
        Map<String, String> result = this.securityProxy.getIdentityContext(resource);
        result.putAll(getAppHeaders());
        return result;
    }
@Test
    void testGetSecurityHeadersForAccessToken() {
        AbstractNamingClientProxy proxy = new MockNamingClientProxy(sc);
        String token = "aa";
        Map<String, String> keyMap = new HashMap<>();
        keyMap.put(Constants.ACCESS_TOKEN, token);
        when(sc.getIdentityContext(any(RequestResource.class))).thenReturn(keyMap);
        Map<String, String> securityHeaders = proxy.getSecurityHeaders("", "", "");
        assertEquals(2, securityHeaders.size());
        assertEquals(token, securityHeaders.get(Constants.ACCESS_TOKEN));
        assertEquals(AppNameUtils.getAppName(), securityHeaders.get("app"));
    }