CloudinaryDotNet.Test.ApiTest.TestUrlClone C# (CSharp) Method

TestUrlClone() private method

private TestUrlClone ( ) : void
return void
        public void TestUrlClone()
        {
            // url should be cloneable
            Transformation t1 = new Transformation().Angle(12);
            Transformation t2 = new Transformation().Crop("fill");
            Url url1 = m_api.UrlImgUp.Transform(t1);
            Url url2 = url1.Clone().Action("go").Transform(t2);
            string result1 = url1.BuildUrl("test");
            string result2 = url2.BuildUrl("test");
            Assert.AreEqual(m_defaultImgUpPath + "a_12/test", result1);
            Assert.AreEqual(m_defaultRootPath + "image/go/c_fill/test", result2);
        }
ApiTest