public void Parse_WithValidEncodedXmlCommentInput_ShouldDecodeStringContent()
        {
            string xmlInput = "<!~~ Test ~~>";

            MsBuildHelpElementCodeBlock codeBlock = MsBuildElementHelpCodeBlockUtility.Parse(xmlInput);

            Assert.AreEqual("<!-- Test -->", codeBlock.Content);
        }
        public void Parse_WithValidXmlInput_ShouldReturnObjectWithLanguageXml()
        {
            string xmlInput = "<xml>test</xml>";

            MsBuildHelpElementCodeBlock codeBlock = MsBuildElementHelpCodeBlockUtility.Parse(xmlInput);

            Assert.AreEqual(MsBuildHelpCodeBlockLanguage.Xml, codeBlock.Language);
        }
        public void Parse_WithBatchInput_ShouldReturnObjectWithLanguageSh()
        {
            string xmlInput = "msbuild test.targets /t:CallTest";

            MsBuildHelpElementCodeBlock codeBlock = MsBuildElementHelpCodeBlockUtility.Parse(xmlInput);

            Assert.AreEqual(MsBuildHelpCodeBlockLanguage.Sh, codeBlock.Language);
        }