@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 processReturnOkResponseWithAppAutheticatorAndNoRdaSession() {
        mockedAppSession.setRdaSessionId(null);
        Map<String, Object> logOptions = new HashMap<>();
        var logCode = Map.of(
            "upgrade_rda_widchecker", "1311",
            "upgrade_app", "879"
        );

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

        verify(digidClient, times(1)).remoteLog("1311", ImmutableMap.of(lowerUnderscore(ACCOUNT_ID), mockedAppAuthenticator.getAccountId(), lowerUnderscore(HIDDEN), true));
        assertTrue(appResponse instanceof OkResponse);

    }