public void InjectXMatter_SpanWithNameOfLanguage2_GetsLang()
{
var frontMatterDom = new XmlDocument();
frontMatterDom.LoadXml(@"<html><head> <link href='file://blahblah\\a5portrait.css' type='text/css' /></head><body>
<div class='bloom-page cover coverColor bloom-frontMatter' data-page='required'>
<span data-collection='nameOfLanguage' lang='N2' class=''>{Regional}</span>
</div></body></html>");
var helper = CreatePaperSaverHelper();
helper.XMatterDom = frontMatterDom;
helper.InjectXMatter( _dataSet.WritingSystemAliases, Layout.A5Portrait);
AssertThatXmlIn.Dom(_dom.RawDom).HasSpecifiedNumberOfMatchesForXpath("//div/span[@lang='en']", 1);
//NB: it's not this class's job to actually fill in the value (e.g. English, in this case). Just to set it up so that a future process will do that.
}