final String initializedByFirst = "initializedByFirst";
flowActivity1.addPropertyDefinitions(new FlowPropertyDefinitionImpl(initializedByFirst).initPropertyUsage(PropertyUsage.initialize));
FlowTestingUtils flowTestingUtils = new FlowTestingUtils();
flowTestingUtils.addFlowDefinition("first", flowActivity1,
new TransitionFlowActivity(null, "second", TransitionType.normal));
FlowActivityImpl flowActivity2 = new FlowActivityImpl().initInvisible(false);
// this property name is unknown to "first" flow so "first" flow should not affect this property value at all.
// for second flow, the property is flowLocal/ internalState so the setting should only affect the flowLocal copy.
String privatePropertyForSecondFlow = "privateForSecond";