public void AddExecuteOrderRuleThrowsExceptionWithNullCompilerTest() { IBuildStrategyCompiler target = null; Action action = () => target.AddExecuteOrderRule<DummyExecuteOrderRule>(); action.ShouldThrow<ArgumentNullException>(); }