Inheritance: ResourceWriter
 public HtmlDocumentationBuilder(
     IConfiguration configuration,
     HtmlDocumentFormatter htmlDocumentFormatter,
     HtmlResourceWriter htmlResourceWriter,
     IFileSystem fileSystem)
 {
     this.configuration         = configuration;
     this.htmlDocumentFormatter = htmlDocumentFormatter;
     this.htmlResourceWriter    = htmlResourceWriter;
     this.fileSystem            = fileSystem;
 }
 public HtmlDocumentationBuilder(
     IConfiguration configuration,
     HtmlDocumentFormatter htmlDocumentFormatter,
     HtmlResourceWriter htmlResourceWriter,
     IFileSystem fileSystem)
 {
     this.configuration = configuration;
     this.htmlDocumentFormatter = htmlDocumentFormatter;
     this.htmlResourceWriter = htmlResourceWriter;
     this.fileSystem = fileSystem;
 }
        public void ThenSavesCssFilesToCorrectLocation()
        {
            FileSystem.AddDirectory(@"c:\output\");
            var htmlResourceWriter = new HtmlResourceWriter(FileSystem);

            htmlResourceWriter.WriteTo(@"c:\output\");

            var filesOnFileSystem = FileSystem.AllFiles.AsEnumerable<string>().ToArray();

            Check.That(filesOnFileSystem).Contains(@"c:\output\css\master.css");
            Check.That(filesOnFileSystem).Contains(@"c:\output\css\reset.css");
            Check.That(filesOnFileSystem).Contains(@"c:\output\css\global.css");
            Check.That(filesOnFileSystem).Contains(@"c:\output\css\global.css");
            Check.That(filesOnFileSystem).Contains(@"c:\output\css\structure.css");
            Check.That(filesOnFileSystem).Contains(@"c:\output\css\print.css");
            Check.That(filesOnFileSystem).Contains(@"c:\output\css\font-awesome.css");
        }