Esempio n. 1
0
        private void TestTemplateInsertion(Bloom.Book.Book book, IPage existingPage, string divContent)
        {
            Mock<IPage> templatePage = CreateTemplatePage(divContent);

               book.InsertPageAfter(existingPage, templatePage.Object);
            AssertPageCount(book, 4);
            Assert.AreEqual("bloom-page somekind A5Portrait", GetPageFromBookDom(book, 1).GetStringAttribute("class"));
        }