public function testEntityArrayAccess()
{
$snippet = $this->snippetFromMethod(DatastoreClient::class, 'entity', 'array');
$snippet->addLocal('datastore', $this->client);
$snippet->addLocal('key', $this->key);
$res = $snippet->invoke('entity');
$this->assertEquals('Bob', $res->returnVal()['firstName']);
$this->assertEquals('Testguy', $res->returnVal()['lastName']);
}