示例#1
0
        public void ShouldFailIfFutureIsNotDependency()
        {
            var task = new TaskWithFutureNotDependency(new StringWriter())
            {
                Description = "one"
            };

            Assert.That(() => task.TestBuild(), Throws.InstanceOf(typeof(DependencyBuildFailureException)));
        }
示例#2
0
        public void ShouldFailIfFutureIsNotDependency() {
            var task = new TaskWithFutureNotDependency(new StringWriter()) {Description = "one"};

            Assert.That(() => task.TestBuild(), Throws.InstanceOf(typeof (DependencyBuildFailureException)));
        }