  def testGetEnabled(self, mock_gsu_api, mock_execute_request):
    """Validates the GetEnabled function"""
    mock_execute_request.return_value = gcp_mocks.MOCK_ENABLED_SERVICES
    mock_service_usage = mock_gsu_api.return_value.services.return_value
    response = gcp_mocks.FAKE_SERVICE_USAGE.GetEnabled()

    mock_execute_request.assert_called_with(mock_service_usage,
        'list', {'parent': 'projects/fake-project', 'filter': 'state:ENABLED'})

    self.assertListEqual(response, [
        'bigquery.googleapis.com',
        'cloudapis.googleapis.com',
        'compute.googleapis.com'
      ])
Validates the GetEnabled function
tests/providers/gcp/internal/test_serviceusage.py