@Override
    public AppResponse process(Flow flow, MultipleSessionsRequest request) throws FlowNotDefinedException, IOException, NoSuchAlgorithmException {
        var authAppSession = appSessionService.getSession(request.getAuthSessionId());
        if (!isAppSessionAuthenticated(authAppSession)) return new NokResponse();

        appAuthenticator = appAuthenticatorService.findByUserAppId(authAppSession.getUserAppId());
        if (!isAppAuthenticatorActivated(appAuthenticator)) return new NokResponse();

        var response = checkEidasUIT();
        return response.orElseGet(() -> addDetailsToResponse(new WebSessionInformationResponse()));
    }
@Test
    public void processSessionInformationReceivedReturnsNokResponseNotAuthenticated() throws FlowNotDefinedException, IOException, NoSuchAlgorithmException {
        //given
        authAppSession.setState("NOTAUTHENTICATED");
        //when
        AppResponse appResponse = sessionInformationReceived.process(mockedFlow, multipleSessionsRequest);
        //then
        assertTrue(appResponse instanceof NokResponse);
    }