@Operation(summary = "Receive app to app SAML AuthnRequest")
    @PostMapping(value = {"/frontchannel/saml/v4/entrance/request_authentication", "/frontchannel/saml/v4/idp/request_authentication"}, produces = "application/json", consumes = "application/x-www-form-urlencoded", params = "Type")
    @ResponseBody
    public Map<String, Object> requestAuthenticationApp(HttpServletRequest request,
                                                                @RequestParam(name = "Type") String requestType,
                                                                @RequestParam(name = "RelayState") String relayState) throws SamlValidationException, DienstencatalogusException, SharedServiceClientException, ComponentInitializationException, MessageDecodingException, AdException, SamlSessionException {
        validateRequestType(requestType, relayState);
        AuthenticationRequest authenticationRequest = authenticationService.startAuthenticationProcess(request);
        return authenticationAppToAppService.createAuthenticationParameters(relayState, authenticationRequest);
    }
@Test
    public void parameterIsInvalidTest() {
        Exception exceptionResult = assertThrows(InvalidInputException.class,
                () -> authenticationControllerMock
                        .requestAuthenticationApp(request, "wrongRequestType", "relayState"));

        assertEquals("Parameter is invalid", exceptionResult.getMessage());
    }