public function testDeleteBatch()
{
$snippet = $this->snippetFromMethod(DatastoreClient::class, 'deleteBatch');
$snippet->addLocal('datastore', $this->client);
$this->connection->commit(Argument::that(function ($args) {
if (array_keys($args['mutations'][0])[0] !== 'delete') {
return false;
}
return true;
}))->shouldBeCalled();
$res = $snippet->invoke();
}