function testThrows_StateExecutingQuery() {
  // 107: Invalid transaction state transition: {0} -> {1}.
  return tx.begin([j, e]).then(function() {
    tx.attach(db.select().from(e));

    lf.testing.util.assertThrowsError(107, attachFn);
    lf.testing.util.assertThrowsError(107, beginFn);
    lf.testing.util.assertThrowsError(107, commitFn);
    lf.testing.util.assertThrowsError(107, rollbackFn);
    lf.testing.util.assertThrowsError(107, execFn);
  });
}
Tests that an lf.Exception.TRANSACTION is thrown when any operation is
attempted while a query is executing.
@return {!IThenable}