public void getResultForHeadings_MoreThanMaximumNumbersHeadingsRequested_ThrowsMaximumNumberHeadingsException()
 {
     SharpMarkdownWriterLib.SharpMarkdownWriter writer = new SharpMarkdownWriterLib.SharpMarkdownWriter ("test.md");
     for (int i = 1; i <= 7; i++) {
         writer.Heading ("bar", i);
     }
 }
 public void getResultForHeadings_MaximumNumbersHeadingsRequested_ReturnsValidOutput()
 {
     SharpMarkdownWriterLib.SharpMarkdownWriter writer = new SharpMarkdownWriterLib.SharpMarkdownWriter ("test.md");
     for (int i = 1; i <= 5; i++) {
         writer.Heading ("bar", i);
     }
     StringAssert.Contains ("### bar", writer.getResult ());
 }