public Remove ( IIgnoredEntity ignore ) : void | ||
ignore | IIgnoredEntity | |
return | void |
public void RemoveElementById() { var underTest = new IgnoredEntitiesCollection(); Assert.That(underTest.IsIgnoredId(this.objectId), Is.EqualTo(IgnoredState.NOT_IGNORED)); underTest.Add(Mock.Of<IIgnoredEntity>(o => o.ObjectId == this.objectId && o.LocalPath == this.localPath)); underTest.Remove(this.objectId); Assert.That(underTest.IsIgnoredId(this.objectId), Is.EqualTo(IgnoredState.NOT_IGNORED)); }