@Override
    protected Map getRenderedViewModelMap(final MockHttpServletRequest req) {
        val response = (CasJsonServiceResponse) req.getAttribute(Cas30JsonResponseView.ATTRIBUTE_NAME_MODEL_SERVICE_RESPONSE);
        assertNotNull(response, "Response cannot be null");
        val success = response.getAuthenticationSuccess();
        assertNotNull(response, "Authentication success cannot be null");
        return success.getAttributes();
    }
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/Cas30JsonResponseViewTests.java