public void Should_process_pipeline_until_element_returns_false()
        {
            AbstractTransformationElement firstTrueElement = null;
            AbstractTransformationElement firstFalseElement = null;
            AbstractTransformationElement secondTrueElement = null;

            using (Record)
            {
                firstTrueElement = Mock<AbstractTransformationElement>();
                firstFalseElement = Mock<AbstractTransformationElement>();
                secondTrueElement = Mock<AbstractTransformationElement>();

                Expect.Call(firstTrueElement.Transform(null, null, null)).Return(true);
                Expect.Call(firstFalseElement.Transform(null, null, null)).Return(false);
            }
            using (Playback)
            {
                ProjectTransformationPipeline pipeline = new ProjectTransformationPipeline(
                    new AbstractTransformationElement[] { firstTrueElement, firstFalseElement, secondTrueElement });
                pipeline.Process(null, null, null);
            }
        }
 public void Should_accept_transformation_elements()
 {
     ProjectTransformationPipeline pipeline = new ProjectTransformationPipeline(new AbstractTransformationElement[] { });
     Assert.That(pipeline, Is.Not.Null);
 }