public TestAdaptedSteps()
 {
     WorkflowServices.StepFactory = new AdaptedStepsFactory();
     _workflow = new TestWorkflow();
     _context  = Substitute.For <ITestContext>();
     _out      = Substitute.For <ITestOutput>();
     _context.Out.Returns(_out);
 }
 protected WorkflowTestsBase()
 {
     Context   = Substitute.For <ITestContext>();
     Output    = Substitute.For <ITestOutput>();
     TestFlags = new Dictionary <string, bool>();
     Context.TestFlags.Returns(TestFlags);
     Context.Out.Returns(Output);
     Workflow = new TestWorkflow();
 }