public void TestGetUrl(int?width, int?height, bool?cover, int?quality, string expected)
        {
            var settings = new ImageResizertSettings
            {
            };

            var imageResizert = new UrlHelper(settings);

            Assert.Equal(expected, imageResizert.GetUrlForImage("test", width, height, cover, quality).ToString());
        }
        public void TestGetUrlWithCDN(string hostname, string cdnName, string expected)
        {
            var settings = new ImageResizertSettings
            {
                BaseUrl  = hostname,
                ImageCdn = cdnName
            };

            var imageResizert = new UrlHelper(settings);

            Assert.Equal(expected, imageResizert.GetUrlForImage("test").ToString());
        }