public void ReturnAuthorsWithNames(string firstName, string lastName) { System.Collections.Generic.IEnumerable <Author> authors = repo.List(); Assert.Contains(authors, auth => auth.FirstName == firstName && auth.LastName == lastName); }