constructor () {
    super(null)

    this._open = true
    this._id = 0
    this._databaseId = null
    this._requestRoutingInformationMock = null
    this._creationTimestamp = Date.now()

    this.resetInvoked = 0
    this.releaseInvoked = 0
    this.seenQueries = []
    this.seenParameters = []
    this.seenProtocolOptions = []
    this._server = {}
    this.protocolVersion = undefined
    this.protocolErrorsHandled = 0
    this.seenProtocolErrors = []
    this.seenRequestRoutingInformation = []
  }
This class is like a mock of {@link Connection} that tracks invocations count.
It tries to maintain same "interface" as {@link Connection}.
It could be replaced with a proper mock by a library like testdouble.
At the time of writing such libraries require {@link Proxy} support but browser tests execute in
PhantomJS which does not support proxies.