public void ItCanAddTasks() { var pipeline = MakePipeline.ForSubject <FirstTestSubject>() .With <Increment>(() => new Increment()) .Build(); var subject = new FirstTestSubject(); pipeline.Subject(subject); pipeline.Do <Increment>(); subject.Value.Should().Be(1); }
public void ItCreatesPipelines() { MakePipeline.ForSubject <FirstTestSubject>().Build() .Should().NotBeNull(); }