public void BringPageUpToDateWithMigration_ClassInNewTemplatePage_ClassIsRetained()
{
SetDom(@"<div class='foobar' data-pagelineage='5dcd48df-e9ab-4a07-afd4-6a24d0398385' id='thePage'>
<div class='marginBox'>
<div class='bloom-imageContainer bloom-leadingElement'><img src='erjwx3bl.q3c.png'></img></div>
</div>
</div>
");
var book = CreateBook();
var dom = book.RawDom;
var page = (XmlElement)dom.SafeSelectNodes("//div[@id='thePage']")[0];
book.BringPageUpToDate(page);
var updatedPage = (XmlElement)dom.SafeSelectNodes("//div[@id='thePage']")[0];
Assert.IsTrue(updatedPage.OuterXml.Contains("bloom-page"),"we expect that the new template page will have this class, which we've omitted from the old page");
}