@Override
    public AppResponse process(Flow flow, AppRequest body) {
        if (appSession.getRdaSessionStatus().equals("VERIFIED")) {
            ((ActivationFlow) flow).activateApp(appAuthenticator, appSession, RDA);

            digidClient.remoteLog("1219", Map.of(lowerUnderscore(ACCOUNT_ID), appSession.getAccountId(), lowerUnderscore(DEVICE_NAME), appAuthenticator.getDeviceName()));
            return new StatusResponse("SUCCESS");
        }

        return new NokResponse();
    }
@Test
    void processAppSessionVerified(){
        mockedAppSession.setRdaSessionStatus("VERIFIED");

        AppResponse appResponse = finalizeRda.process(mockedFlow, mockedAbstractAppRequest);

        verify(mockedFlow, times(1)).activateApp(mockedAppAuthenticator, mockedAppSession, "rda");
        verify(digidClientMock, times(1)).remoteLog("1219", Map.of(lowerUnderscore(ACCOUNT_ID), mockedAppSession.getAccountId(), lowerUnderscore(DEVICE_NAME), mockedAppAuthenticator.getDeviceName()));

        assertTrue(appResponse instanceof StatusResponse);
        assertEquals("SUCCESS", ((StatusResponse)appResponse).getStatus());
    }