public void TestOverlay()
{
// should support overlay
Transformation transformation = new Transformation().Overlay("text:hello");
String result = m_api.UrlImgUp.Transform(transformation).BuildUrl("test");
Assert.AreEqual(m_defaultImgUpPath + "l_text:hello/test", result);
// should not pass width/height to html if overlay
transformation = new Transformation().Overlay("text:hello").Width(100).Height(100);
result = m_api.UrlImgUp.Transform(transformation).BuildUrl("test");
Assert.IsNull(transformation.HtmlHeight);
Assert.IsNull(transformation.HtmlWidth);
Assert.AreEqual(m_defaultImgUpPath + "h_100,l_text:hello,w_100/test", result);
}