public void BloomUi_IsRemoved()
{
var book = SetupBookLong("This is some text", "en",
extraContent: "<div class='bloom-ui rubbish'><img src='myImage.png?1023456'></img></div>",
images: new [] {"myImage.png?1023456"});
MakeImageFiles(book, "myImage"); // Even though the image exists we should not use it.
MakeEpub("output", "BloomUi_IsRemoved", book);
CheckBasicsInManifest();
CheckBasicsInPage();
AssertThatXmlIn.String(_manifestContent).HasNoMatchForXpath("package/manifest/item[@id='fmyImage' and @href='myImage.png']");
AssertThatXmlIn.String(_page1Data).HasNoMatchForXpath("//img[@src='myImage.png']");
AssertThatXmlIn.String(_page1Data).HasNoMatchForXpath("//div[@class='bloom-ui rubbish']");
}