public void RemoveCreationRuleThrowsExceptionWithNullCompilerTest() { IBuildStrategyCompiler target = null; Action action = () => target.RemoveCreationRule<DummyCreationRule>(); action.ShouldThrow<ArgumentNullException>(); }