    @Test
    public void testIdentity() throws IOException, InterruptedException {

        
        ThreadContext.push("testIdentity");

        try {

            if (!ContextChecker.runNow(logger)) {
                return;
            }
            
            Map<String, String> env = ContextChecker.check(new String[] {HCC_CLIENT_ID, HCC_CLIENT_SECRET}, true);
            
            String clientId = env.get(HCC_CLIENT_ID);
            String clientSecret = env.get(HCC_CLIENT_SECRET);
            File refreshTokenFile = new File(System.getProperty("user.home"), ".dz/test/" + getClass().getSimpleName());
            
            String identity = provider.getIdentity(clientId, clientSecret, refreshTokenFile, getClass().getSimpleName());
            
            logger.info("identity: " + identity);
            
        } finally {
            ThreadContext.pop();
        }
    }