public void GetDescriptions_ShouldReturnDescriptions() { Guid guid = new Guid("ee4cd8a3-eb0e-453d-a3b5-081b9165942e"); //ad2 (InappCounter=4) var response = controller.GetDescriptions(guid); Assert.IsNotNull(response); Assert.AreEqual(HttpStatusCode.OK, response.StatusCode); var inappComment = response.Content.ReadAsAsync <IEnumerable <InappropriateComment> >().Result; Assert.AreEqual(inappAds.Where(c => c.Value.AdId == guid).Count(), inappComment.Count()); }