public void XmlVsParser_Should_ReturnValidResult() { var list = XmlVsParserObj.GetComments(PathToXmlDocumentation); list.Should().NotBeNull(); list.Length.Should().BePositive(); foreach (var comment in list) { comment.Remarks.Should().NotBeNull(); comment.Returns.Should().NotBeNull(); comment.Summary.Should().NotBeNull(); } }
public void XmlVsParser_WhenNullablePath_Should_ReturnException() { Assert.Throws(typeof(ArgumentNullException), () => XmlVsParserObj.GetComments(null)); }