Ejemplo n.º 1
0
        public void SomeController_GetOneExisting_Status200()
        {
            // arrange

            // act
            var response   = TestHelpers.Format.GetResponseFromAction(_controller.GetProduct(1));
            var statusCode = (int)response.StatusCode;

            // assert
            statusCode.Should().Be(200);
        }