public void InvisibleAndUnwantedContentRemoved()
{
var book = SetupBookLong("Page with a picture on top and a large, centered word below.", "en",
extraContent: @"<div class='bloom-editable' lang='xyz'><label class='bubble'>Book title in {lang} should be removed</label>vernacular text should always display</div>
<div class='bloom-editable' lang='fr'>French text should only display if configured</div>
<div class='bloom-editable' lang='de'>German should never display in this collection</div>");
MakeEpub("output", "InvisibleAndUnwantedContentRemoved", book);
CheckBasicsInManifest();
CheckBasicsInPage();
CheckNavPage();
CheckFontStylesheet();
var assertThatPage1 = AssertThatXmlIn.String(_page1Data);
assertThatPage1.HasAtLeastOneMatchForXpath("//xhtml:div[@lang='xyz']", _ns);
assertThatPage1.HasNoMatchForXpath("//xhtml:div[@class='pageDescription']", _ns);
assertThatPage1.HasNoMatchForXpath("//xhtml:div[@lang='en']", _ns); // one language by default
assertThatPage1.HasNoMatchForXpath("//xhtml:div[@lang='fr']", _ns);
assertThatPage1.HasNoMatchForXpath("//xhtml:div[@lang='de']", _ns);
assertThatPage1.HasNoMatchForXpath("//xhtml:label", _ns); // labels are hidden
assertThatPage1.HasNoMatchForXpath("//xhtml:div[@class='pageLabel']", _ns);
assertThatPage1.HasNoMatchForXpath("//xhtml:script", _ns);
}