public function testMapEntityResultArrayOfClassNames()
{
$res = json_decode(file_get_contents(__DIR__ . '/../fixtures/datastore/entity-result.json'), true);
$this->connection->lookup(Argument::type('array'))->willReturn(['found' => $res]);
$this->operation->setConnection($this->connection->reveal());
$k = $this->prophesize(Key::class);
$k->state()->willReturn(Key::STATE_NAMED);
$entity = $this->operation->lookup([$k->reveal()], ['className' => ['Kind' => MyEntity::class]]);
$this->assertInstanceOf(MyEntity::class, $entity['found'][0]);
}