public void Should_throw_invalidpageexception()
        {
            const string data = "invalid yaml front matter";
            var parser = new ContentParser();

            Assert.Throws<InvalidPageException>(() => parser.ParsePage(data));
        }
 public void Should_throw_invalidpageexception_when_having_empty_lines()
 {
     var sampleData = "---" + Environment.NewLine +
                      " " + Environment.NewLine +
                      "title: Test" + Environment.NewLine +
                      "---";
     var parser = new ContentParser();
     Assert.Throws<InvalidPageException>(() => parser.ParsePage(sampleData));
 }