System.Net.Tests.HttpWebRequestTest.Method_SetThenGetToGET_ExpectSameValue C# (CSharp) Method

Method_SetThenGetToGET_ExpectSameValue() private method

private Method_SetThenGetToGET_ExpectSameValue ( Uri remoteServer ) : void
remoteServer Uri
return void
        public void Method_SetThenGetToGET_ExpectSameValue(Uri remoteServer)
        {
            HttpWebRequest request = WebRequest.CreateHttp(remoteServer);
            request.Method = HttpMethod.Get.Method;
            Assert.Equal(HttpMethod.Get.Method, request.Method);
        }
HttpWebRequestTest