Exemplo n.º 1
0
        public void shouldInsertPipelineStepDirectly()
        {
            var obj = new TestSubject();
            var insertionScheme = new PipelineScheme(new[] { new StepMetadata("Bar", typeof(TestSubject), typeof(int), typeof(bool), "(0,0)") });

            var insertionTestee = new PipelineManager(insertionScheme);

            var result = insertionTestee.InsertPipelineStep<int, bool>(obj.Bar);

            Assert.IsTrue(result.Outcome == StepBuildResults.Completed);
        }