function testOptimisticLockFail() {
$this->table->setLock(new Table\OptimisticLock("counter"));
$row = $this->table->find(null, null, 1)->current();
function testOptimisticLockFail() {
$this->table->setLock(new Table\OptimisticLock("counter"));
$row = $this->table->find(null, null, 1)->current();
$row->data = "foo";
executeInConcurrentTransaction(
$this->table->getQueryExecutor(),
$row->data = "foo";
executeInConcurrentTransaction(
$this->table->getQueryExecutor(),