Beispiel #1
0
        public void TestWorkflowContext()
        {
            var context = new WorkflowContext();

            Assert.AreEqual(Process.Started, context.CurrentProcess);
            context.Transit(Event.Next);
            Assert.AreEqual(Process.Arrived, context.CurrentProcess);
        }