public void ShouldBuildDependency() { var task = new DependencyTask(); var one = task.WhenBuilt(() => "one"); one.TestBuild(); Assert.That(one.Value, Is.EqualTo("one")); Assert.That(task.WasBuilt); }