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

CreateBookOnDiskFromTemplate_FromFactoryA5_CreatesWithCoverAndTitle() private method

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

            var path = GetPathToHtml(_starter.CreateBookOnDiskFromTemplate(source, _projectFolder.Path));

            AssertThatXmlIn.HtmlFile(path).HasSpecifiedNumberOfMatchesForXpath("//div[contains(@class, 'cover ')]", 4);
            AssertThatXmlIn.HtmlFile(path).HasSpecifiedNumberOfMatchesForXpath("//div[contains(@class, 'titlePage')]", 1);
            AssertThatXmlIn.HtmlFile(path).HasSpecifiedNumberOfMatchesForXpath("//div[contains(@class, 'bloom-page')]", 5);
        }
BookStarterTests