@Test
    public void testNoCache() {
        val authenticator = new
                LocalCachingAuthenticator(this.delegate, 10, 2, TimeUnit.SECONDS);
        authenticator.init();

        assertFalse(authenticator.isCached(this.credentials));
    }
Test cases for {@link LocalCachingAuthenticator}.

@author Misagh Moayyed
@since 1.8
pac4j-core/src/test/java/org/pac4j/core/credentials/authenticator/LocalCachingAuthenticatorTests.java