BloomTests.Book.BookStarterTests.CreateBookOnDiskFromTemplate_FromFactoryBasicBook_CreatesWithCorrectStylesheets C# (CSharp) Method

CreateBookOnDiskFromTemplate_FromFactoryBasicBook_CreatesWithCorrectStylesheets() private method

        public void CreateBookOnDiskFromTemplate_FromFactoryBasicBook_CreatesWithCorrectStylesheets()
        {
            var source = BloomFileLocator.GetFactoryBookTemplateDirectory( "Basic Book");

                 var path = GetPathToHtml(_starter.CreateBookOnDiskFromTemplate(source, _projectFolder.Path));
                AssertThatXmlIn.HtmlFile(path).HasSpecifiedNumberOfMatchesForXpath("//link[contains(@href, 'Basic Book')]", 1);
                AssertThatXmlIn.HtmlFile(path).HasSpecifiedNumberOfMatchesForXpath("//link[contains(@href, 'preview')]", 1);
                AssertThatXmlIn.HtmlFile(path).HasSpecifiedNumberOfMatchesForXpath("//link[contains(@href, 'basePage')]", 1);
        }
BookStarterTests