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

TestCallbackUrl() private method

private TestCallbackUrl ( ) : void
return void
        public void TestCallbackUrl()
        {
            HttpContext.Current = new HttpContext(
                new HttpRequest("test", "http://localhost/test/do", ""), new HttpResponse(null));

            string s = m_api.BuildCallbackUrl();

            Assert.AreEqual("http://localhost/Content/cloudinary_cors.html", s);
        }
ApiTest