unblockAndFulfill_(value) {
    if (this.state_ != mr.MockPromise.State_.BLOCKED) {
      throw Error('Expected state to be BLOCKED.');
    }
    this.state_ = mr.MockPromise.State_.PENDING;
    this.resolve_(mr.MockPromise.State_.FULFILLED, value);
  }
/**
   * Unblocks the Promise and fulfills it with the given value.
   *
   * @param {TYPE} value
   * @private
   */
Unblocks the Promise and fulfills it with the given value.
@param {TYPE} value
@private
Unblocks the Promise and fulfills it with the given value . @param { TYPE } value @private
unblockAndFulfill_(value) {
    if (this.state_ != mr.MockPromise.State_.BLOCKED) {
      throw Error('Expected state to be BLOCKED.');
    }
    this.state_ = mr.MockPromise.State_.PENDING;
    this.resolve_(mr.MockPromise.State_.FULFILLED, value);
  }
unblockAndFulfill_ ( value ) { if ( this . state_ != mr . MockPromise . State_ . BLOCKED ) { throw Error ( 'Expected state to be BLOCKED.' ) ; } this . state_ = mr . MockPromise . State_ . PENDING ; this . resolve_ ( mr . MockPromise . State_ . FULFILLED , value ) ; }
Unblocks the Promise and fulfills it with the given value.
Unblocks the Promise and fulfills it with the given value .