public void ParseInvalidDocument()
        {
            TestContext.Current.FileSystemMoq.Setup(fs => fs.OpenStream(It.IsAny<string>())).Returns(
                CreateStreamForInvalidDocument);

            var parser = new SolutionXmlSession("mypath");

            parser.Parse();
        }
        public void ParseValidDocument()
        {
            TestContext.Current.FileSystemMoq.Setup(fs => fs.OpenStream(It.IsAny<string>())).Returns(
                CreateStreamForValidDocument);

            var parser = new SolutionXmlSession("mypath");

            var container = parser.Parse();

            Assert.IsTrue(container.Solution.Name == "Mijn mooie oplossing");
        }