public void TestGetReviewsByBook() { //Arrange repo = new FakeReviewRepo(); SeedReviewData(); foreach (Review r in reviews) { repo.AddReview(r); } //Act IEnumerable <Review> Pj = repo.GetReviewsByBook(books[0]); //Assert Assert.Equal(2, Pj.Count()); Assert.Equal("Stiles", Pj.ElementAt(1).Reviewer); Assert.Equal("The Lightning Thief", Pj.ElementAt(1).BookTitle); }