private static void AnalyzeSymbol(SymbolAnalysisContext context)
        {
            // TODO: Replace the following code with your own analysis, generating Diagnostic objects for any issues you find
            var namedTypeSymbol = (INamedTypeSymbol)context.Symbol;
            var symbolName      = namedTypeSymbol.Name;

            // Find just those named type symbols with names containing lowercase letters.
            if (TestClassDetector.IsTestClass(symbolName))
            {
                // For all such symbols, produce a diagnostic.
                var diagnostic = Diagnostic.Create(Rule, namedTypeSymbol.Locations[0], namedTypeSymbol.Name.Replace("Tests", string.Empty));

                context.ReportDiagnostic(diagnostic);
            }
        }
        public void ReturnsTrueIfNameEndsWithTests(string className, bool expected)
        {
            var actual = TestClassDetector.IsTestClass(className);

            Assert.Equal(expected, actual);
        }