ArchiMetrics.CodeReview.Rules.Tests.Rules.NodeReviewerTests.GivenANodeInspectorInspectingBrokenSolution.WhenInspectingSolutionThenFindsErrors C# (CSharp) Method

WhenInspectingSolutionThenFindsErrors() private method

private WhenInspectingSolutionThenFindsErrors ( string code, Type evaluatorType ) : Task
code string
evaluatorType System.Type
return Task
            public async Task WhenInspectingSolutionThenFindsErrors(string code, Type evaluatorType)
            {
                Console.WriteLine(evaluatorType.Name);

                var task = await PerformSolutionInspection(code, evaluatorType);
                var count = task.Count();

                Assert.Equal(1, count);
            }
        }
NodeReviewerTests.GivenANodeInspectorInspectingBrokenSolution