function assertProvideFails(namespace) {
  assertThrows(
      'goog.provide(' + namespace + ') should have failed',
      goog.partial(goog.provide, namespace));
}
@fileoverview Unit tests for Closure's base.js's goog.module support.