code: def test_execute(self, mock_hook):
      partial_keys = [1, 2, 3]
      op = CloudDatastoreAllocateIdsOperator(
          task_id="test_task",
          gcp_conn_id=CONN_ID,
          project_id=PROJECT_ID,
          partial_keys=partial_keys,
      )
      op.execute(context={"ti": mock.MagicMock()})
  
      mock_hook.assert_called_once_with(
          gcp_conn_id=CONN_ID, impersonation_chain=None
      )
      mock_hook.return_value.allocate_ids.assert_called_once_with(
          project_id=PROJECT_ID, partial_keys=partial_keys
      )
  
imports: from __future__ import annotations
  from unittest import mock
  from airflow.providers.google.cloud.operators.datastore import CloudDatastoreAllocateIdsOperator, CloudDatastoreBeginTransactionOperator, CloudDatastoreCommitOperator, CloudDatastoreDeleteOperationOperator, CloudDatastoreExportEntitiesOperator, CloudDatastoreGetOperationOperator, CloudDatastoreImportEntitiesOperator, CloudDatastoreRollbackOperator, CloudDatastoreRunQueryOperator
label_desc: Use image node_id 1 for calling the TestCloudDatastoreAllocateIds obj's underlying member method code with example usage: obj.test_execute(mock_hook) without return types