public void AddIgnoreRuleThrowsExceptionWithNullCompilerTest() { IBuildStrategyCompiler target = null; Action action = () => target.AddIgnoreRule<DummyIgnoreRule>(); action.ShouldThrow<ArgumentNullException>(); }