コード例 #1
0
        public void ConvertFailTest()
        {
            HttpMethod h = new HttpMethod("random");

            Assert.AreEqual(HttpVerbProxy.NONE, Extractor.Convert(h));
        }
コード例 #2
0
        public void ConvertTest()
        {
            HttpMethod h = new HttpMethod(HttpMethod.Get.Method);

            Assert.AreEqual(HttpVerbProxy.GET, Extractor.Convert(h));
        }