Geeks With Blogs
Abhishek Anand Bits & Bytes about .net technology framework. workflow
Testing Workflow Events
Imagine you are testing a method that returns or processes a Workflow event. Normally, you would generate a fake instance of the class and insert it into the method using Moq. However, creating a fake Workflow event is difficult, as Workflow events do not expose any public constructors. You can generate Workflow events using Microsoft.Activities.UnitTe... Note: this is a package that must be installed. Here is an example of generating “WorkflowApplicationComplet... Basically, run a workflow ......

Posted On Thursday, November 21, 2013 12:12 PM

Copyright © Abhishek Anand | Powered by: GeeksWithBlogs.net