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