public void TestFetch() { // should escape fetch urls string uri = m_api.Url.ResourceType("image").Action("fetch").BuildUrl("http://blah.com/hello?a=b"); Assert.AreEqual(m_defaultRootPath + "image/fetch/http://blah.com/hello%3Fa%3Db", uri); }