I am playing around with WF4 beta 2 and want to unit test a workflowservice. Perhaps I am missing something, but this does not seem trivial.
As far as I can see, I might use WorkflowServiceHost
. But I think this is a lot of overhead to create a host and then consume it in the test.
Is there not a simple way of testing a workflow service just as with WorkflowInvoker.Invoke
?