public void GetIsImgOrSomethingWithBackgroundImage_NoBackgroundImageProperty_False() { var dom = new XmlDocument(); dom.LoadXml("<div style=\"color:red;\"></div>"); Assert.IsFalse(HtmlDom.IsImgOrSomethingWithBackgroundImage(dom.DocumentElement)); }