@Test
    public void testCachingNoProfile() {
        val c1 = new TokenCredentials("T1");
        val pc = new LocalCachingProfileCreator(NoProfileCreator.INSTANCE, 10, 10, TimeUnit.SECONDS);
        val optProfile = pc.create(new CallContext(MockWebContext.create(), new MockSessionStore()), c1);
        assertTrue(optProfile.isEmpty());
        assertTrue(pc.getStore().get(c1).isEmpty());
    }
Tests {@link LocalCachingProfileCreator}.

@author Jerome LELEU
@since 5.7.0
pac4j-core/src/test/java/org/pac4j/core/profile/creator/LocalCachingProfileCreatorTests.java