public void BuildIncremental_Succeeds()
        {
            var pipeline = new TestBuildPipeline();
            var config   = BuildConfiguration.CreateInstance();

            Assert.That(pipeline.CanBuild(config).Result, Is.True);
            using (var process = pipeline.BuildIncremental(config))
            {
                while (process.Update())
                {
                }
                Assert.That(process.Result.Succeeded, Is.True);
            }
        }
        public void BuildIncremental_WithoutConfig_Throws()
        {
            var pipeline = new TestBuildPipeline();

            Assert.Throws <ArgumentNullException>(() => pipeline.BuildIncremental(null));
        }