public void Init_CreateObject_IsNotNull()
        {
            var parserPoolStub  = Substitute.For <IParserPool>();
            var environmentStub = Substitute.For <IEnvironment>();

            var obj = new ExampleMarkdownNodeParser(parserPoolStub, environmentStub);

            Assert.IsNotNull(obj);
        }
        public void Parse_ParseInputElement_ResultEqualsExpected()
        {
            var input           = this.XmlInput;
            var parserPoolStub  = Substitute.For <IParserPool>();
            var environmentMock = Substitute.For <IEnvironment>();

            environmentMock.NewLine.Returns(Environment.NewLine);

            var parser = new ExampleMarkdownNodeParser(parserPoolStub, environmentMock);

            var result = parser.ParseToMarkdown(input);

            var expected = String.Format(
                "{1}**Example:**<big><pre>{0}{1}</pre></big>{1}",
                "This sample shows how to call the GetZero method.",
                environmentMock.NewLine);

            StringAssert.AreEqualIgnoringCase(expected, result);
        }