* Test to see that serialization/deserialization of enum's
*/
@Test(enabled=TEST_ENABLED)
public void testEnumHandling() {
Map<String, String> initialFlowState = FlowUtils.INSTANCE.createState("foo", SampleEnum.EXTERNAL);
FlowImplementor flow = new FlowImpl(FLOW_TYPE);
FlowPropertyDefinitionImpl definition = new FlowPropertyDefinitionImpl("foo", SampleEnum.class);
flow.addPropertyDefinitions(definition);
FlowActivityImpl fa1 = new FlowActivityImpl().initInvisible(false);
definition = new FlowPropertyDefinitionImpl("fa1fp", SampleEnum.class).initInitial(SampleEnum.EMAIL.name());
fa1.addPropertyDefinitions(definition);
flow.addActivity(fa1);
FlowTestingUtils flowTestingUtils = new FlowTestingUtils();
flowTestingUtils.getFlowTranslatorResolver().resolveFlow(flow);
flowTestingUtils.getFlowDefinitionsManager().addDefinition(FLOW_TYPE, flow);
FlowManagement flowManagement = flowTestingUtils.getFlowManagement();
String returnToFlowLookupKey = null;