addCallbackEntry_(callbackEntry) {
    if (!this.hasEntry_() &&
        (this.state_ == mr.MockPromise.State_.FULFILLED ||
         this.state_ == mr.MockPromise.State_.REJECTED)) {
      this.scheduleCallbacks_();
    }
    this.queueEntry_(callbackEntry);
  }
/**
   * Adds a callback entry to the current Promise, and schedules callback
   * execution if the Promise has already been settled.
   *
   * @param {mr.MockPromise.CallbackEntry_} callbackEntry Record containing
   *     {
   * @private
   */
Adds a callback entry to the current Promise, and schedules callback
execution if the Promise has already been settled.

@param {mr.MockPromise.CallbackEntry_} callbackEntry Record containing
{
@private
Adds a callback entry to the current Promise and schedules callback execution if the Promise has already been settled . @param { mr . MockPromise . CallbackEntry_ } callbackEntry Record containing { @private
addCallbackEntry_(callbackEntry) {
    if (!this.hasEntry_() &&
        (this.state_ == mr.MockPromise.State_.FULFILLED ||
         this.state_ == mr.MockPromise.State_.REJECTED)) {
      this.scheduleCallbacks_();
    }
    this.queueEntry_(callbackEntry);
  }
addCallbackEntry_ ( callbackEntry ) { if ( ! this . hasEntry_ ( ) && ( this . state_ == mr . MockPromise . State_ . FULFILLED || this . state_ == mr . MockPromise . State_ . REJECTED ) ) { this . scheduleCallbacks_ ( ) ; } this . queueEntry_ ( callbackEntry ) ; }
Adds a callback entry to the current Promise, and schedules callback
 execution if the Promise has already been settled.
Adds a callback entry to the current Promise and schedules callback execution if the Promise has already been settled .