public void Enum() { var storage = new XmlStorage(_driver, _index); Assert.DoesNotThrow(() => storage.Enum()); Assert.IsEmpty(storage.Enum()); _index.Items.Returns(new[] { new StorageItem() { Url = "test1" }, new StorageItem() { Url = "test2" } }); Assert.IsNotEmpty(storage.Enum()); }