public StylesheetBundleDeserializer_Tests()
 {
     mediaElement = new XElement("HtmlAttribute", new XAttribute("Name", "media"), new XAttribute("Value", "expected-media"));
     element = new XElement(
         "StylesheetBundle",
         new XAttribute("Path", "~"),
         new XAttribute("Hash", "010203"),
         new XAttribute("Condition", "expected-condition"),
         mediaElement
     );
     directory = new FakeFileSystem
     {
         { "~/stylesheet/010203.css", "content" }
     };
     var urlModifier = new VirtualDirectoryPrepender("/");
     reader = new StylesheetBundleDeserializer(urlModifier);
     DeserializeBundle();
 }
 public StylesheetBundleDeserializer_Tests()
 {
     mediaElement = new XElement("HtmlAttribute", new XAttribute("Name", "media"), new XAttribute("Value", "expected-media"));
     element = new XElement(
         "StylesheetBundle",
         new XAttribute("Path", "~"),
         new XAttribute("Hash", "010203"),
         new XAttribute("Condition", "expected-condition"),
         new XAttribute("Renderer", typeof(StylesheetHtmlRenderer).AssemblyQualifiedName),
         mediaElement
     );
     directory = new FakeFileSystem
     {
         { "~/stylesheet/010203.css", "content" }
     };
     var container = new TinyIoCContainer();
     container.Register(Mock.Of<IUrlGenerator>());
     reader = new StylesheetBundleDeserializer(container);
     DeserializeBundle();
 }