public void Search_WhenGamesIsNull() { var manager = new ForkSearcherManager(new ForkSearcher(new TextRulesProvider(string.Empty))); Assert.Throws<ArgumentNullException>(() => manager.Search(null)); }
public void Search_WhenGamesIsEmpty() { var manager = new ForkSearcherManager(new ForkSearcher(new TextRulesProvider(string.Empty))); var forks = manager.Search(new Dictionary<SportType, Dictionary<GameInfo, List<Game>>>()); Assert.IsEmpty(forks); }