public void ParseCommonInfoFromMDFile_Invalid_FirstLineEmpty()
        {
            var testFile =
                "" + Environment.NewLine +
                "# Test Title 2" + Environment.NewLine +
                "test test test test test" + Environment.NewLine +
                "test test test test test";

            var integratedDocFile = IntegratedDocRepository.ProcessMDFile(() => new StringReader(testFile));

            Assert.IsNull(integratedDocFile);
        }
        public void ParseCommonInfoFromMDFile_Valid_WithSpaces()
        {
            var testFile =
                "# Test Title 2" + Environment.NewLine +
                "test test test test test" + Environment.NewLine +
                "test test test test test";

            var integratedDocFile = IntegratedDocRepository.ProcessMDFile(() => new StringReader(testFile));

            Assert.IsNotNull(integratedDocFile);
            Assert.AreEqual("Test Title 2", integratedDocFile !.Title);
        }
        public void ParseCommonInfoFromMDFile_Invalid_EmptyFile()
        {
            var integratedDocFile = IntegratedDocRepository.ProcessMDFile(() => new StringReader(string.Empty));

            Assert.IsNull(integratedDocFile);
        }