public function testRunQueryWithReadOptionsFromTransaction()
{
$this->connection->runQuery(Argument::withKey('readOptions'))->willReturn([]);
$this->operation->setConnection($this->connection->reveal());
$q = $this->prophesize(QueryInterface::class);
$q->queryKey()->willReturn('query');
$q->queryObject()->willReturn([]);
$res = $this->operation->runQuery($q->reveal(), ['transaction' => 'foo']);
iterator_to_array($res);
}