public void AddIgnoreRuleAddsRuleToCompilerTest() { var target = new BuildStrategyCompiler(); target.AddIgnoreRule<DummyIgnoreRule>(); var actual = target.IgnoreRules.Single(); actual.Should().BeOfType<DummyIgnoreRule>(); }