public void TestInitialize()
        {
            emptyRules = Array.Empty <SonarQubeRule>();

            validRules = new List <SonarQubeRule>
            {
                new SonarQubeRule("key", "repoKey", true, SonarQubeIssueSeverity.Blocker, null, SonarQubeIssueType.Bug)
            };

            anyProperties = Array.Empty <SonarQubeProperty>();

            validQualityProfile = new SonarQubeQualityProfile("qpkey1", "qp name", "any", false, DateTime.UtcNow);

            validNugetPackages = new List <NuGetPackageInfo> {
                new NuGetPackageInfo("package.id", "1.2")
            };

            validRuleSet = new CoreRuleSet
            {
                Description  = OriginalValidRuleSetDescription,
                ToolsVersion = "12.0",
                Rules        = new List <Core.CSharpVB.Rules>
                {
                    new Core.CSharpVB.Rules
                    {
                        AnalyzerId = "my analyzer", RuleNamespace = "my namespace"
                    }
                }
            };
        }
        private static CSharpVBBindingConfig CreateCSharpVbBindingConfig(string newSolutionRuleSetPath, CoreRuleSet coreRuleSet)
        {
            var ruleset        = new FilePathAndContent <CoreRuleSet>(newSolutionRuleSetPath, coreRuleSet);
            var additionalFile = new FilePathAndContent <SonarLintConfiguration>("dummy.txt", new SonarLintConfiguration());
            var csharpVbConfig = new CSharpVBBindingConfig(ruleset, additionalFile);

            return(csharpVbConfig);
        }