public void TestNotSignTheUrlSuffix()
{
var r = new Regex("s--[0-9A-Za-z_-]{8}--", RegexOptions.Compiled);
string url = m_api.UrlImgUp.Format("jpg").Signed(true).BuildUrl("test");
var match = r.Match(url);
Assert.IsTrue(match.Success);
string actual = m_api.UrlImgUp.Format("jpg").PrivateCdn(true).Signed(true).Suffix("hello").BuildUrl("test");
Assert.AreEqual("http://testcloud-res.cloudinary.com/images/" + match.Value + "/test/hello.jpg", actual);
url = m_api.UrlImgUp.Format("jpg").Signed(true).Transform(new Transformation().Angle(0)).BuildUrl("test");
match = r.Match(url);
Assert.IsTrue(match.Success);
actual = m_api.UrlImgUp.Format("jpg").PrivateCdn(true).Signed(true).Suffix("hello").Transform(new Transformation().Angle(0)).BuildUrl("test");
Assert.AreEqual("http://testcloud-res.cloudinary.com/images/" + match.Value + "/a_0/test/hello.jpg", actual);
}