public void ShouldGetThreeProblemsWithRuleViolation() { NoProtection rule = new NoProtection(); Configuration configuration = ConfigurationLoader.LoadConfiguration("NoProtection.config"); ProblemCollection problems = rule.Check(configuration); Assert.IsNotNull(problems); Assert.AreEqual(3, problems.Count); }