private static void assertModelAndView(final ModelAndView mv) {
        assertNotNull(mv);
        assertTrue(mv.getStatus().is2xxSuccessful());
        assertTrue(mv.getModel().containsKey(CasViewConstants.MODEL_ATTRIBUTE_REGISTERED_SERVICE));
        assertTrue(mv.getModel().containsKey(CasViewConstants.MODEL_ATTRIBUTE_REGISTERED_SERVICE));
        assertTrue(mv.getModel().containsKey(CasViewConstants.MODEL_ATTRIBUTE_NAME_ASSERTION));
        assertTrue(mv.getModel().containsKey("response"));
    }
This is {@link CasProtocolValidationEndpointTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-reports/src/test/java/org/apereo/cas/web/report/CasProtocolValidationEndpointTests.java