rejectFn = function() {
    // 999: Simulated error.
    return goog.Promise.reject(new lf.Exception(999));
  }
Forces every subsequent query to be rejected (for testing purposes).
@param {!goog.testing.PropertyReplacer} propertyReplacer