Beispiel #1
0
        public void TestWorkflowRunner()
        {
            var expected = "Run complete";

            WorkflowFactory.Using <WorkflowTest>();
            var result = WorkflowFactory.RunXaml("Workflow.xaml", new Dictionary <string, object>());

            Assert.IsTrue(result.IsInstance());
            Assert.AreEqual(expected, result["argument1"]);
        }