示例#1
0
        public void op_ToString()
        {
            const string expected = "GET";
            var actual = new HttpMethod(expected).ToString();

            Assert.Equal(expected, actual);
        }
示例#2
0
        public void opImplicit_HttpMethod_string()
        {
            var expected = new HttpMethod("GET");
            HttpMethod actual = "GET";

            Assert.Equal(expected, actual);
        }