@Test
    public void testRestBasicWithCas20TicketValidator() {
        val config = getConfig();
        config.setDefaultTicketValidator(new Cas20ServiceTicketValidator(CAS_PREFIX_URL));
        internalTestRestBasic(new CasRestBasicAuthClient(config, VALUE, NAME), 0);
    }
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