async function verifyUpdates (runnable, query, parameters, stats) {
    const summary = await runnable
      .run(query, parameters)
      .consume()
      .toPromise()
    expect(summary).toBeDefined()
    expect(summary.counters.containsUpdates()).toBeTruthy()
    expect(summary.counters.updates()).toEqual(stats)
    expect(summary.counters.containsSystemUpdates()).toBeFalsy()
  }
@param {RxSession|RxTransaction} runnable
@param {string} query
@param {*} parameters
@param {*} stats