@Override
    public AppResponse process(Flow flow, CancelFlowRequest request) {
        Map<String, Object> logOptions = new HashMap<>();

        if (appAuthenticator != null && appAuthenticator.getAccountId() != null) logOptions.put(lowerUnderscore(ACCOUNT_ID), appAuthenticator.getAccountId());
        if ("upgrade_rda_widchecker".equals(appSession.getAction())) logOptions.put(HIDDEN, true);

        if (appSession.getRdaSessionId() != null) {
            rdaClient.cancel(appSession.getRdaSessionId());
        }
        digidClient.remoteLog(getLogCode(appSession.getAction()), logOptions);

        return new OkResponse();
    }
@Test
    public void processReturnOkResponseWithAppAutheticatorAndRdaSession() {
        mockedAppSession.setRdaSessionId("123");

        AppResponse appResponse = cancelled.process(mockedFlow, cancelFlowRequest);

        verify(rdaClient, times(1)).cancel(mockedAppSession.getRdaSessionId());
        assertTrue(appResponse instanceof OkResponse);

    }