public void PipelineRunnerResultTest()
        {
            PipelineRunner <int> pipeline = new PipelineRunner <int>();

            pipeline.Register(new ConcreteStage())
            .Register(new ConcreteStageTwo());

            Assert.Equal(2, pipeline.Process(1));
        }
        public void CanRunAPipeline()
        {
            Pipeline <int> pipeline = new PipelineRunner <int>();

            pipeline.Pipe(new ConcreteStage())
            .Pipe(new ConcreteStageTwo())
            .Pipe(new ConcreteStage());

            pipeline.Process(0);
        }