Example #1
0
        public void GetAllPostComments()
        {
            ActionResult <IEnumerable <Comment> > result = blogController.GetAllPostComments(0);

            Assert.IsInstanceOf <OkObjectResult>(result.Result);
            Assert.IsNotNull((result.Result as OkObjectResult).Value);
        }