public void GetDocuments_ExistedDocumentsGiven_ShouldReturnAllDocuments()
        {
            Solution solution = _analyzer.OpenSolution();
            IEnumerable <Document> documents = _analyzer.GetDocuments(solution);

            Assert.NotNull(documents);
        }
        public void OpenSolution_ValidSolutionPathGiven_ShouldReturnSolution(string solutionPath)
        {
            var      analyzer = new CodeSmellAnalyzer(solutionPath);
            Solution solution = analyzer.OpenSolution();

            Assert.NotNull(solution);
        }
        public void OpenSolution_InvalidSolutionPathGive_ShouldThrowException(string solutionPath)
        {
            var analyzer = new CodeSmellAnalyzer(solutionPath);

            Assert.Throws <AggregateException>(() => analyzer.OpenSolution());
        }