protected override void Given()
        {
            SetUpTasks();

            var sequenceBuilder = new FluentSequenceBuilder(
                new SequenceFactory(
                    Substitute.For <IThreadOperations>()
                    )
                );

            SUT = sequenceBuilder
                  .Queue(MockFirstTask)
                  .Queue(MockSecondTask)
                  .Queue(MockThirdTask)
                  .Serial()
                  .Fail(MockFail)
                  .Build();
        }
Ejemplo n.º 2
0
 protected override void Given()
 {
     FluentSequenceBuilder = new FluentSequenceBuilder(new SequenceFactory(Substitute.For <IThreadOperations>()));
 }