@Test
    void verifySuccessView() throws Throwable {
        val response = new MockHttpServletResponse();
        val view = new Cas10ResponseView(true, new NoOpProtocolAttributeEncoder(),
            mock(ServicesManager.class), mock(AuthenticationAttributeReleasePolicy.class), new DefaultAuthenticationServiceSelectionPlan(),
            new AttributeValuesPerLineProtocolAttributesRenderer(), mock(AttributeDefinitionStore.class));
        view.render(model, new MockHttpServletRequest(), response);
        assertTrue(response.getContentAsString().startsWith("yes\ntest\n"));
    }
Unit test for {@link Cas10ResponseView} class.

@author Scott Battaglia
@author Marvin S. Addison
@since 3.0.0
support/cas-server-support-validation/src/test/java/org/apereo/cas/web/view/Cas10ResponseViewTests.java