useEmulator(url, options) {
    const uri = Uri.parse(url);
    this['emulatorConfig'] = {
      'protocol': uri.getScheme(),
      'host': uri.getDomain(),
      'port': uri.getPort(),
      'options': {
        'disableWarnings': options ? options.disableWarnings : false,
      },
    };
  }
Mock useEmulator() function from main SDK.
@param {string} url The url to talk to the emulator with.
@param {?Object} options Options for emulator config.