Example #1
0
        public void GetReviewsForPublication_WhenCalledWithExistingId_ReturnsOkResult()
        {
            var okResult = _controller.GetUserReviewsForPublication(1, 1);

            var result = Assert.IsType <OkObjectResult>(okResult);

            Assert.Equal(200, result.StatusCode);
        }