testThrowCallExceptionUnexpectedWithNext() {
    let msg;
    /**
     * @suppress {visibility,duplicate} suppression added to enable type
     * checking
     */
    mock.$throwException = (m) => {
      msg = m;
    };

    mock.$throwCallException('fn1', ['b'], {
      name: 'fn2',
      argumentList: [3],
      getErrorMessage: function() {
        return '';
      },
    });
    assertEquals(
        'Unexpected call to fn1(string).\n' +
            'Did you forget to $replay?\n' +
            'Next expected call was to fn2(number)',
        msg);
  }
@suppress {visibility,duplicate} suppression added to enable type
checking