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