public function testAllocateId()
{
$datastore = new DatastoreClientStubNoService();
$key = $datastore->key('Person');
$key = $datastore->allocateId($key);
$this->assertInstanceOf(Key::class, $key);
$this->assertTrue($datastore->didCallAllocateIds);
}