public void SetBookSetting_HadADifferentValueCompletely_NewValue()
{
var bookDom = new HtmlDom(@"<html ><head></head><body>
<div id='bloomDataDiv'>
<div data-book='foo' lang='en'>blah</div>
<div data-book='foo' lang='xyz'>boo</div>
</div>
</body></html>");
bookDom.SetBookSetting("foo", "xyz", "hello");
AssertThatXmlIn.Dom(bookDom.RawDom).HasSpecifiedNumberOfMatchesForXpath("//div[@data-book='foo' and @lang='xyz' and text()='hello']", 1);
AssertThatXmlIn.Dom(bookDom.RawDom).HasSpecifiedNumberOfMatchesForXpath("//div[@data-book='foo' and @lang='en' and text()='blah']", 1);
AssertThatXmlIn.Dom(bookDom.RawDom).HasSpecifiedNumberOfMatchesForXpath("//div[@data-book='foo']", 2);
}