public function testAllocateIds()
{
$kind = 'Person';
$keys = self::$client->keys($kind);
$allocatedKeys = self::$client->allocateIds($keys);
foreach ($allocatedKeys as $key) {
$path = $key->path()[0];
$this->assertTrue(is_numeric($path['id']));
$this->assertEquals($kind, $path['kind']);
}
}