function setDefault(fn) {
  getDefault = fn;
}
Stores a callback that will be used  to get an AbstractModuleManager instance
if set() is not called before the first get() call.
@param {function(): !AbstractModuleManager} fn