public void TestAction() { // should use type of action from options string uri = m_api.UrlImgUp.Action("facebook").BuildUrl("test"); Assert.AreEqual(m_defaultRootPath + "image/facebook/test", uri); }