@Test
    public void testRestFormWithCaching() {
        internalTestRestForm(new LocalCachingAuthenticator(new CasRestAuthenticator(getConfig()), 100, 100, TimeUnit.SECONDS));
    }
Tests the {@link CasRestBasicAuthClient} and {@link CasRestFormClient}.

@author Misagh Moayyed
@since 1.8.0
pac4j-cas/src/test/java/org/pac4j/cas/client/rest/CasRestClientIT.java