public void GetAllPostComments() { ActionResult <IEnumerable <Comment> > result = blogController.GetAllPostComments(0); Assert.IsInstanceOf <OkObjectResult>(result.Result); Assert.IsNotNull((result.Result as OkObjectResult).Value); }
public void GetAllPostComments() { ActionResult <IEnumerable <Comment> > result = blogController.GetAllPostComments(0); Assert.IsInstanceOf <OkObjectResult>(result.Result); Assert.IsNotNull((result.Result as OkObjectResult).Value); }