public void GetArticlesWithKeywordsUsingExpressionTreeWithUnionShouldWork() { var result = new NewsArticleRepository().GetArticlesWithKeywordsUsingExpressionTreeWithUnion(this._articles, this._keywords).ToArray(); AssertResult(result); }
public void GetArticlesWithKeywordsUsingLinqShouldWork() { var result = new NewsArticleRepository().GetArticlesWithKeywordsUsingLinq(this._articles, this._keywords).ToArray(); AssertResult(result); }