public void WorkflowDefinitionStartNewTest() { model = WorkflowDefinitionModel.Load("unittest1"); WorkflowModel workflow = model.StartNew("frank", "1", new GetUser()); Assert.AreEqual(3, workflow.Root.Value.Status); Assert.AreEqual(2, workflow.Root.Children[0].Value.Status); Assert.AreEqual("title3", workflow.Root.Children[0].Children[0].Value.Title); workflow.Remove(); }