ArchiMetrics.CodeReview.Rules.Tests.Rules.NodeReviewerTests.GivenANodeReviewerInspectingBrokenCode.SyntaxDetectionTest C# (CSharp) Method

SyntaxDetectionTest() private method

private SyntaxDetectionTest ( string code, Type evaluatorType ) : Task
code string
evaluatorType System.Type
return Task
            public async Task SyntaxDetectionTest(string code, Type evaluatorType)
            {
                var task = await PerformInspection(code, evaluatorType);
                var count = task.Count();

                Assert.Equal(1, count);
            }