public HtmlDocumentationBuilder(Configuration configuration,
                                 HtmlDocumentFormatter htmlDocumentFormatter,
                                 HtmlResourceWriter htmlResourceWriter)
 {
     this.configuration = configuration;
     this.htmlDocumentFormatter = htmlDocumentFormatter;
     this.htmlResourceWriter = htmlResourceWriter;
 }
 public HtmlDocumentationBuilder(
     Configuration 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();

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