public void Raise_workflow_started_event()
        {
            var workflow = new EmptyWorkflow();
            WorkflowStartedEventArgs eventArgs = null;

            workflow.Started += (s, e) => { eventArgs = e; };
            var workflowEvent = new WorkflowStartedEvent(_builder.WorkflowStartedEvent());

            workflowEvent.Interpret(workflow);

            Assert.That(eventArgs, Is.Not.Null);
            Assert.That(eventArgs.StartEvent, Is.EqualTo(workflowEvent));
        }
Ejemplo n.º 2
0
 void handle_WorkflowStarted(object sender, WorkflowStartedEventArgs e)
 {
     throw new NotImplementedException();
 }