public void TestIgnoreHttp()
{
// should ignore http links only if type is not given or is asset
string uri = m_api.UrlImgUp.BuildUrl("http://test");
Assert.AreEqual("http://test", uri);
uri = m_api.Url.ResourceType("image").Action("asset").BuildUrl("http://test");
Assert.AreEqual("http://test", uri);
uri = m_api.Url.ResourceType("image").Action("fetch").BuildUrl("http://test");
Assert.AreEqual(m_defaultRootPath + "image/fetch/http://test", uri);
}