private HttpServletRequest prepareRequest(final String password) {
        val request = new MockHttpServletRequest();
        request.setParameter(CasProtocolConstants.PARAMETER_USERNAME, "casuser");
        request.setParameter(CasProtocolConstants.PARAMETER_PASSWORD, password);
        request.setParameter(CasProtocolConstants.PARAMETER_SERVICE, registeredService.getServiceId());
        return request;
    }
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