IsIgnoredPath() публичный Метод

public IsIgnoredPath ( string localPath ) : IgnoredState
localPath string
Результат IgnoredState
        public void IgnoreInheritedCheckOnLocalPath() {
            var underTest = new IgnoredEntitiesCollection();

            underTest.Add(Mock.Of<IIgnoredEntity>(o => o.ObjectId == this.objectId && o.LocalPath == this.localPath));

            Assert.That(underTest.IsIgnoredPath(Path.Combine(this.localPath, Guid.NewGuid().ToString())), Is.EqualTo(IgnoredState.INHERITED));
        }
        public void DoNotIgnorePathsWithSameBeginningButDifferentEndings() {
            var underTest = new IgnoredEntitiesCollection();

            underTest.Add(Mock.Of<IIgnoredEntity>(o => o.ObjectId == this.objectId && o.LocalPath == this.localPath));

            Assert.That(underTest.IsIgnoredPath(this.localPath + "bla"), Is.EqualTo(IgnoredState.NOT_IGNORED));
        }
        public void IgnoreCheckOnLocalPath() {
            var underTest = new IgnoredEntitiesCollection();

            underTest.Add(Mock.Of<IIgnoredEntity>(o => o.ObjectId == this.objectId && o.LocalPath == this.localPath));

            Assert.That(underTest.IsIgnoredPath(this.localPath), Is.EqualTo(IgnoredState.IGNORED));
        }