public function testTransactionInReadOptions()
{
$this->connection->lookup(Argument::that(function ($arg) {
if (!isset($arg['readOptions']['transaction'])) {
return false;
}
return true;
}))->willReturn([]);
$this->operation->setConnection($this->connection->reveal());
$k = $this->prophesize(Key::class);
$k->state()->willReturn(Key::STATE_NAMED);
$this->operation->lookup([$k->reveal()], ['transaction' => '1234']);
}