public void RemoveTypeCreatorThrowsExceptionWithNullCompilerTest() { IBuildStrategyCompiler target = null; Action action = () => target.RemoveTypeCreator<DefaultTypeCreator>(); action.ShouldThrow<ArgumentNullException>(); }