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

BaseForRelativePaths_NullPath_SetsToEmpty() private method

private BaseForRelativePaths_NullPath_SetsToEmpty ( ) : void
return void
        public void BaseForRelativePaths_NullPath_SetsToEmpty()
        {
            var dom = new HtmlDom(
                          @"<html><head><base href='original'/></head></html>");
            dom.BaseForRelativePaths = null;
            AssertThatXmlIn.Dom(dom.RawDom).HasSpecifiedNumberOfMatchesForXpath("html/head/base", 0);
            Assert.AreEqual(string.Empty, dom.BaseForRelativePaths);
        }
HtmlDomTests