public void test_addSection_ThrowsAnException_WhenTheTitleIsNotSpecified()
 {
     try
     {
         _documentation.AddSection(null, null, Format.Markdown, "Content");
         throw new TestFailedException();
     }
     catch (ArgumentException iae)
     {
         Assert.Equal("A title must be specified.", iae.Message);
     }
 }
        private Section Add(Element element, string type, params FileSystemInfo[] files)
        {
            FormattedContent content = ReadFiles(files);

            return(_documentation.AddSection(element, type, content.Format, content.Content));
        }