function testThrows_StateAcquiringScope() {
  var whenDone = tx.begin([e]);
  // 107: Invalid transaction state transition: {0} -> {1}.
  lf.testing.util.assertThrowsError(107, beginFn);
  lf.testing.util.assertThrowsError(107, attachFn);
  lf.testing.util.assertThrowsError(107, commitFn);
  lf.testing.util.assertThrowsError(107, rollbackFn);
  lf.testing.util.assertThrowsError(107, execFn);
  // 105: Attempt to access in-flight transaction states.
  lf.testing.util.assertThrowsError(105, statsFn);

  return whenDone;
}
Tests that an lf.Exception.TRANSACTION is thrown when any operation is
attempted while a transaction is still initializing.
@return {!IThenable}