示例#1
0
        public void GetReviewsByUserId_WhenCalledWithExistingId_ReturnsOkResult()
        {
            var okResult = _controller.GetReviewsByUser(3);

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

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