public AssertRuleSetLoaded ( string ruleSet, int expectedNumberOfTimes ) : void | ||
ruleSet | string | |
expectedNumberOfTimes | int | |
return | void |
public void AssertRuleSetLoaded(string ruleSet, int expectedNumberOfTimes)
{
int actual = 0;
this.ruleSetLoaded.TryGetValue(ruleSet, out actual);
Assert.AreEqual(expectedNumberOfTimes, actual, "RuleSet {0} was loaded unexpected number of times", ruleSet);
}