Esempio n. 1
0
        public void ReadReviews()
        {
            List <Review> reviews = repository.AllIncluding(r => r.Writer).ToList();

            if (reviews.Count > 0)
            {
                CollectionAssert.AllItemsAreNotNull(reviews.Select(r => r.Writer).ToList());
                CollectionAssert.AllItemsAreNotNull(reviews.Select(r => r.Product).ToList());
            }
            else
            {
                Assert.Inconclusive("Yorum nesnesi bulunmuyor");
            }
        }