public void Replace_Header()
        {
            // verify we can replace an existing header value once set
            var restTest = new RESTClient <int, int>();

            restTest.Authorization("foo");
            restTest.Authorization("bar");
            var actualKey = restTest.headers["Authorization"];

            Assert.AreEqual("bar", actualKey);
        }
        public void Authorization_IsNull()
        {
            string testKey  = null;
            var    restTest = new RESTClient <int, int>();

            restTest.Authorization(testKey);
            var actualKey = restTest.headers["Authorization"];

            Assert.IsNull(actualKey);
        }
        public void Authorization()
        {
            const string testKey  = "abc";
            var          restTest = new RESTClient <int, int>();

            restTest.Authorization(testKey);
            var actualKey = restTest.headers["Authorization"];

            Assert.AreEqual(testKey, actualKey);
        }