@Override
    public AppResponse process(Flow flow, CancelFlowRequest request) {
        if (appAuthenticator != null && "no_nfc".equals(request.getCode())) {
            appAuthenticator.setNfcSupport(false);
        }

        appSession.setAbortCode(request.getCode());

        return new OkResponse();
    }
@Test
    public void processReturnsOkResponseWithAppAuthenticatorAndNoNfcCode() {
        //given
        cancelFlowRequest.setCode("no_nfc");
        //when
        AppResponse appResponse = aborted.process(mockedFlow, cancelFlowRequest);

        //then
        assertTrue(appResponse instanceof OkResponse);
        Assertions.assertEquals(false, mockedAppAuthenticator.getNfcSupport());
        Assertions.assertEquals("no_nfc", mockedAppSession.getAbortCode());

    }