コード例 #1
0
        public void TestThat_ArtifactWithoutDependencyIsNotDetected()
        {
            var dependencyHandler = new RunbookDependencyHandler();

            Assert.That(dependencyHandler.HasDependenciesDefined(new MyStandardArtifact1()), Is.False);
        }
コード例 #2
0
        public void TestThat_ArtifactWithDependencyIsDetected()
        {
            var dependencyHandler = new RunbookDependencyHandler();

            Assert.That(dependencyHandler.HasDependenciesDefined(new MyArtifactDependentOnStandardArtifact()), Is.True);
        }