public void CanUseArbitraryReleaseFileRenderer() { var renderer = new Mock <IRenderer>(); var content = "content"; javaScriptBundle .WithReleaseFileRenderer(renderer.Object) .AddString(content) .ForceRelease() .Render("test.js"); renderer.Verify(r => r.Render(content, TestUtilities.PrepareRelativePath("test.js"))); }