  def testGetResource(self, mock_grm_api, mock_execute_request):
    """Validates the GetResource function"""
    mock_execute_request.return_value = [gcp_mocks.MOCK_CLOUD_RESOURCE_PROJECT]
    mock_resource_client = mock_grm_api.return_value.projects.return_value
    response = gcp_mocks.FAKE_CLOUD_RESOURCE_MANAGER.GetResource(
        'projects/000000000000')
    mock_execute_request.assert_called_with(mock_resource_client,
        'get', {'name': 'projects/000000000000'})
    self.assertEqual(response,
        {
          "createTime": "2020-01-01T00:00:00.000Z",
          "displayName": "fake-project",
          "etag": "Tm90IGFuIGV0YWd4eHh4eA==",
          "name": "projects/000000000000",
          "parent": "folders/111111111111",
          "projectId": "fake-project",
          "state": "ACTIVE",
          "updateTime": "2020-01-01T00:00:00.000Z"
        })
Validates the GetResource function
tests/providers/gcp/internal/test_cloudresourcemanager.py