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