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