public void initializeSession(AuthenticationRequest authenticationRequest, SAMLBindingContext bindingContext) throws SamlSessionException, SharedServiceClientException {
        final String httpSessionId = authenticationRequest.getRequest().getSession().getId();

        if (authenticationRequest.getFederationName() != null) {
            findOrInitializeFederationSession(authenticationRequest, httpSessionId);
        }

        findOrInitializeSamlSession(authenticationRequest, httpSessionId, bindingContext);
    }
@Test
    public void checkIfAssertionConsumerServiceUrlIsSet() throws SamlSessionException, SharedServiceClientException {
        samlSessionService.initializeSession(authenticationRequest, bindingContext);

        assertEquals("https://sso.afnemer.nl", authenticationRequest.getSamlSession().getAssertionConsumerServiceURL());
    }