@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 processSessionInformationReceivedActivateResponseOk() throws FlowNotDefinedException, IOException, NoSuchAlgorithmException {
        //given
        Map<String, String> activateResponse = Map.of("status", "OK", "faultReason", "NotUnique", "pip", "testpip");
        when(appAuthenticatorService.findByUserAppId(authAppSession.getUserAppId())).thenReturn(mockedAppAuthenticator);
        when(dwsClient.bsnkActivate(response.get("bsn"))).thenReturn(activateResponse);
        //when
        AppResponse appResponse = sessionInformationReceived.process(mockedFlow, multipleSessionsRequest);
        //then
        assertEquals("testpip", mockedAppAuthenticator.getPip());
    }