コード例 #1
0
        public void DeleteReview_WhenDeletedWithExistingId_ReturnsOkResult()
        {
            var okResult = _controller.DeleteReview(1, 1);

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

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