public void TestCleanup() { _workflowRuntime.StopRuntime(); _workflowRuntime.Dispose(); _workflowRuntime = null; _scheduler = null; _dataExchange = null; }
public void TestInitialize() { _workflowRuntime = new WorkflowRuntime(); _scheduler = new ManualWorkflowSchedulerService(); _workflowRuntime.AddService(_scheduler); _workflowRuntime.AddService(new ExternalDataExchangeService()); _dataExchange = new MockDataExchange(); _dataExchange.Reset(); _workflowRuntime.GetService <ExternalDataExchangeService>().AddService(_dataExchange); _workflowRuntime.StartRuntime(); }