public void TestUnderlay()
{
Transformation transformation = new Transformation().Underlay("text:hello");
String result = m_api.UrlImgUp.Transform(transformation).BuildUrl("test");
Assert.AreEqual(m_defaultImgUpPath + "u_text:hello/test", result);
// should not pass width/height to html if underlay
transformation = new Transformation().Underlay("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,u_text:hello,w_100/test", result);
}