@Override
    public AppResponse process(Flow flow, MijnDigidSessionRequest request) throws FlowNotDefinedException, IOException, NoSuchAlgorithmException, SharedServiceClientException {
        appSession = appSessionService.getSession(request.getMijnDigidSessionId());
        appAuthenticator = appAuthenticatorService.findByUserAppId(appSession.getUserAppId());

        checkSwitchesEnabled();

        digidClient.remoteLog("1468", Map.of(lowerUnderscore(ACCOUNT_ID), appSession.getAccountId(), lowerUnderscore(DEVICE_NAME), appAuthenticator.getDeviceName(), lowerUnderscore(HUMAN_PROCESS), "get_notifications", lowerUnderscore(APP_CODE), appAuthenticator.getAppCode()));

        if (!isAppSessionAuthenticated(appSession) || !isAppAuthenticatorActivated(appAuthenticator)){
            return new NokResponse("no_session");
        }

        return nsClient.getNotifications(appAuthenticator.getAccountId());
    }
@Test
    public void getListNotificationsTest() throws FlowNotDefinedException, SharedServiceClientException, IOException, NoSuchAlgorithmException {
        //given
        when(appSessionService.getSession(any())).thenReturn(mockedAppSession);
        when(appAuthenticatorService.findByUserAppId(any())).thenReturn(mockedAppAuthenticator);
        when(switchService.digidAppSwitchEnabled()).thenReturn(true);

        when(nsClient.getNotifications(anyLong())).thenReturn(new NotificationResponse("OK", List.of(
            new Notification(1l, "Dummy notification", "Dummy content", true, ZonedDateTime.now()))
        ));

        //when
        NotificationResponse appResponse = (NotificationResponse) notificationsGet.process(mockedFlow, mockedRequest);
        //then
        assertEquals("Dummy notification", appResponse.getNotifications().get(0).getTitle());
        assertTrue(appResponse instanceof NotificationResponse);
        assertEquals("OK", appResponse.getStatus());
        verify(digidClientMock, times(1)).remoteLog("1468", Map.of(
            lowerUnderscore(APP_CODE), "37F1B",
            lowerUnderscore(ACCOUNT_ID), 1L,
            lowerUnderscore(DEVICE_NAME), "devicename",
            lowerUnderscore(HUMAN_PROCESS), "get_notifications"));
    }