IsIgnoredId() public méthode

public IsIgnoredId ( string objectId ) : IgnoredState
objectId string
Résultat IgnoredState
        public void AddElement() {
            var underTest = new IgnoredEntitiesCollection();

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

            Assert.That(underTest.IsIgnoredId(this.objectId), Is.EqualTo(IgnoredState.IGNORED));
        }