Esempio n. 1
0
        public void Get_Request_Test()
        {
            //Assign
            IRequest       baseRequest = new HttpRequest("http://test.com/", "command");
            IRequest       target;
            HttpWebRequest actual;

            //Act
            target = new GetRequest(baseRequest);
            actual = target.Build();

            //Assert
            Assert.AreEqual("GET", actual.Method);
        }