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(); }
protected override void Given() { FluentSequenceBuilder = new FluentSequenceBuilder(new SequenceFactory(Substitute.For <IThreadOperations>())); }