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