Ejemplo n.º 1
0
        public void HttpContextService_Method_HappyFlow()
        {
            // arrange
            string method = "GET";

            _mockHttpContext.SetRequestMethod(method);

            // act
            string result = _service.Method;

            // assert
            Assert.AreEqual(method, result);
        }