public void AddPostBuildActionThrowsExceptionWithNullCompilerTest() { IBuildStrategyCompiler target = null; Action action = () => target.AddPostBuildAction<DummyPostBuildAction>(); action.ShouldThrow<ArgumentNullException>(); }