constructor() {
    super();

    /** @private {?boolean} */
    this.open_ = null;

    /** @private @const {!Array<!WebChannel.MessageData>} */
    this.messages_ = [];
  }
A fake web channel that captures all "sent" messages to memory, for testing.
@implements {WebChannel}
@final