public void GivenCssWithRelativeUrl_WhenTransformed_ThenUrlIsExpanded()
        {
            SetupDirectoryGetFile(StubImageFile().Object);
            var css       = "p { background-image: url(test.png); }";
            var getResult = transformer.Transform(css.AsStream, asset.Object);
            var output    = getResult().ReadToEnd();

            output.ShouldEqual("p { background-image: url(EXPANDED); }");

            urlGenerator.Verify(g => g.CreateRawFileUrl("~/styles/test.png", It.IsAny <string>()));
        }
        public void GivenCssWithRelativeUrl_WhenTransformed_ThenUrlIsExpanded()
        {
            fileSystem.Add("~/styles/test.png");

            var css       = "p { background-image: url(test.png); }";
            var getResult = transformer.Transform(css.AsStream, asset.Object);
            var output    = getResult().ReadToEnd();

            output.ShouldEqual("p { background-image: url(EXPANDED); }");

            urlGenerator.Verify(g => g.CreateRawFileUrl("~/styles/test.png"));
        }