@Override
    public AppResponse process(Flow flow, AppRequest request) {
        appSession = new AppSession();
        appSession.setState(State.INITIALIZED.name());
        appSession.setActivationMethod(ActivationMethod.APP);
        appSession.setFlow(ActivateAppWithOtherAppFlow.NAME);
        appSession.setAction("activate_with_app");

        digidClient.remoteLog("1365", Map.of("", ""));

        return new AppSessionResponse(appSession.getId(), Instant.now().getEpochSecond());
    }
@Test
    void processTest(){
        AppResponse appResponse = startActivationWithOtherApp.process(mockedFlow, null);

        verify(digidClientMock, times(1)).remoteLog("1365", ImmutableMap.of("", ""));
        assertTrue(appResponse instanceof AppSessionResponse);
        assertEquals(startActivationWithOtherApp.getAppSession().getId(), ((AppSessionResponse)appResponse).getAppSessionId());
        assertEquals(ActivationMethod.APP, startActivationWithOtherApp.getAppSession().getActivationMethod());
    }