ArchiMetrics.Analysis.Tests.CodeReview.NodeInspectorTests.GivenANodeInspector.GivenANodeInspector C# (CSharp) Method

GivenANodeInspector() public method

public GivenANodeInspector ( ) : System.Linq
return System.Linq
            public GivenANodeInspector()
            {
                _mockCodeEvaluation = new Mock<ICodeEvaluation>();
                _mockCodeEvaluation.SetupGet(x => x.EvaluatedKind).Returns(SyntaxKind.ClassDeclaration);
                _mockCodeEvaluation.Setup(x => x.Evaluate(It.IsAny<SyntaxNode>())).Returns((EvaluationResult)null);
                _reviewer = new NodeReviewer(new[] { _mockCodeEvaluation.Object }, Enumerable.Empty<ISymbolEvaluation>());
            }