BloomTests.Book.HtmlDomTests.SetBookSetting_HadADifferentValueCompletely_NewValue C# (CSharp) Method

SetBookSetting_HadADifferentValueCompletely_NewValue() private method

        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);
        }
HtmlDomTests