flowTestingUtils.getFlowTranslatorResolver().resolve(fa1);
flowTestingUtils.getFlowDefinitionsManager().addDefinition(FLOW_TYPE, flow);
FlowManagement flowManagement = flowTestingUtils.getFlowManagement();
FlowState fs = new FlowStateImpl(FLOW_TYPE, flowManagement);
fs.begin();
assertEquals(fs.getCurrentActivityIndex(), 1);
assertTrue(fs.hasNext());
assertFalse(fs.hasVisibleNext());
assertTrue(fs.hasPrevious());