public void AddHead_DocumentHasBody_ThrowsInvalidOperationException() { HtmlDocument document = new HtmlDocument() { Head = Tag.Head }; Assert.Throws <InvalidOperationException>(() => document.AddHead()); }
public void AddHead_DocumentHasBody_ThrowsInvalidOperationException() { HtmlDocument document = new HtmlDocument() { Head = Tag.Head }; Assert.Throws<InvalidOperationException>(() => document.AddHead()); }