예제 #1
0
        public void TestThat_ArtifactWithoutDependencyIsNotDetected()
        {
            var dependencyHandler = new ArtifactDependencyHandler();

            Assert.That(dependencyHandler.HasDependenciesDefined(new MyStandardArtifact1()), Is.False);
        }
예제 #2
0
        public void TestThat_ArtifactWithDependencyIsDetected()
        {
            var dependencyHandler = new ArtifactDependencyHandler();

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