public void MonsterBySourceTest() { CompendiumSource source = new CompendiumSource { Value = 203 }; IEnumerable <SearchResult> actual; actual = SearchResultMonster.BySource(source); Assert.AreEqual(5, actual.Count()); Assert.IsTrue(actual.Any(x => x.Name == "Erdlu")); }
protected override IEnumerable <SearchResult> GetSearchResults(CompendiumSource cs) { return(SearchResultMonster.BySource(cs)); }