public void    RaiseEventsWhenPipelineExecuted()
        {
            //Arrange
            var    startingCalled = 0;
            var    completingCalled = 0;
            var    pipeline = new TestPipelineExecuter();
            pipeline.NotifyExecutionStarting +=    delegate { startingCalled += 1;    };
            pipeline.NotifyExecutionCompleting += delegate { completingCalled += 1;    };

            //Act
            pipeline.Execute("Test", new IOperation[0],    rows =>    rows);

            //Assert);
            Assert.Equal(1,    startingCalled);
            Assert.Equal(1,    completingCalled);
        }
        public void    RaiseEventsWhenPipelineExecuted()
        {
            //Arrange
            var startingCalled   = 0;
            var completingCalled = 0;
            var pipeline         = new TestPipelineExecuter();

            pipeline.NotifyExecutionStarting   += delegate { startingCalled += 1; };
            pipeline.NotifyExecutionCompleting += delegate { completingCalled += 1; };

            //Act
            pipeline.Execute("Test", new IOperation[0], rows => rows);

            //Assert);
            Assert.Equal(1, startingCalled);
            Assert.Equal(1, completingCalled);
        }