public void Constructor_WithSetting_Initializes(string settingName, string settingValue, int expectedCount) { var setting = new RuleSetting { Name = settingName, Value = settingValue }; var helper = new RuleSettingsHelper( new RuleSetting[] { setting }); Assert.AreEqual(expectedCount, helper.Count); }