@Test
    void verifyIsValidExpiredIssuedOn() {
        val standardCred = getCredential();
        standardCred.setIssuedOn(ZonedDateTime.now(ZoneOffset.UTC).minusSeconds(3));

        assertFalse(standardCred.isValid(AUDIENCE, ISSUER, 2000), "testIsValidOldToken() - False");
    }
Test cases for {@link WsFederationCredential}.

@author John Gasper
@since 4.2.0
support/cas-server-support-wsfederation/src/test/java/org/apereo/cas/support/wsfederation/authentication/principal/WsFederationCredentialTests.java