public function testUpdateBatch()
{
$e = $this->prophesize(Entity::class);
$this->operation->mutation(Argument::exact('update'), Argument::type(Entity::class), Argument::exact(Entity::class, null))->shouldBeCalled()->willReturn(null);
$this->operation->commit()->shouldNotBeCalled();
$this->operation->checkOverwrite(Argument::type('array'), Argument::exact(false))->willReturn(null);
$this->transaction->setOperation($this->operation->reveal());
$this->transaction->updateBatch([$e->reveal()]);
}