SonarLint.VisualStudio.Integration.UnitTests.ConfigurableRuleSetSerializer.AssertRuleSetsAreSame C# (CSharp) Method

AssertRuleSetsAreSame() public method

public AssertRuleSetsAreSame ( string ruleSetPath, RuleSet expectedRuleSet ) : void
ruleSetPath string
expectedRuleSet RuleSet
return void
        public void AssertRuleSetsAreSame(string ruleSetPath, RuleSet expectedRuleSet)
        {
            this.AssertRuleSetExists(ruleSetPath);

            RuleSet actualRuleSet = this.savedRuleSets[ruleSetPath];
            Assert.AreSame(expectedRuleSet, actualRuleSet);
        }