Remove() public méthode

Remove the specified ignore form the given collection
public Remove ( IIgnoredEntity ignore ) : void
ignore IIgnoredEntity Ignored entity.
Résultat void
        public void StorageWrapsCollectionsRemove() {
            var collection = new Mock<IIgnoredEntitiesCollection>();
            var storage = new Mock<IMetaDataStorage>(MockBehavior.Strict);
            var entry = "entry";
            var underTest = new IgnoredEntitiesStorage(collection.Object, storage.Object);

            underTest.Remove(entry);

            collection.Verify(c => c.Remove(entry), Times.Once);
        }