public function testAllocateId() { $kind = 'Person'; $key = self::$client->key($kind); $path = self::$client->allocateId($key)->path()[0]; $this->assertTrue(is_numeric($path['id'])); $this->assertEquals($kind, $path['kind']); }