@Test(enabled=TEST_ENABLED, dataProvider="exportingPropertiesData")
public void testExportingProperties(PropertyUsage propertyUsage, PropertyScope propertyScope) {
FlowTestingUtils flowTestingUtils = new FlowTestingUtils();
FlowPropertyDefinition flowPropertyDefinition = new FlowPropertyDefinitionImpl("testProp", boolean.class).initAccess(propertyScope, propertyUsage);
FlowActivityImpl flowActivity =newFlowActivity();
flowActivity.addPropertyDefinitions(flowPropertyDefinition);
String flowTypeName = flowTestingUtils.addFlowDefinition(flowActivity);
FlowState flowState = flowTestingUtils.getFlowManagement().startFlowState(flowTypeName, false, null, null);
flowState.setProperty("not-a-property", true);
flowState.setProperty("testProp", true);
flowState.finishFlow();