Пример #1
0
 public TestAdaptedSteps()
 {
     WorkflowServices.StepFactory = new AdaptedStepsFactory();
     _workflow = new TestWorkflow();
     _context  = Substitute.For <ITestContext>();
     _out      = Substitute.For <ITestOutput>();
     _context.Out.Returns(_out);
 }
Пример #2
0
 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();
 }