Пример #1
0
        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);
        }
Пример #2
0
        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);
        }