public long getTokenTtlInSeconds(String token) throws AccessException {
        if (tokenMap.containsKey(token)) {
            return TimeUnit.MILLISECONDS.toSeconds(
                    tokenMap.get(token).getExpiredTimeMills() - System.currentTimeMillis());
        }
        return jwtTokenManager.getTokenTtlInSeconds(token);
    }
@Test
    void testGetTokenTtlInSeconds() throws AccessException {
        assertTrue(cachedJwtTokenManager.getTokenTtlInSeconds("token") > 0);
    }