@Test
    void verifyProxyGrantingTicketAsAuthenticationAttributeCanDecrypt() throws Throwable {
        val attributes = renderView();
        LOGGER.trace("Attributes are [{}]", attributes.keySet());
        assertTrue(attributes.containsKey(CasViewConstants.MODEL_ATTRIBUTE_NAME_PROXY_GRANTING_TICKET));

        val encodedPgt = (String) attributes.get(CasViewConstants.MODEL_ATTRIBUTE_NAME_PROXY_GRANTING_TICKET);
        assertNotNull(encodedPgt);
        val pgt = decryptCredential(encodedPgt);
        assertNotNull(pgt);
    }
Unit tests for {@link Cas30ResponseView}.

@author Misagh Moayyed
@since 4.0.0
support/cas-server-support-validation/src/test/java/org/apereo/cas/web/view/Cas30ResponseViewTests.java