You are here

protected function ApigeeMockApiClientHelperTrait::apigeeTestPropertiesSetup in Apigee Edge 8

Setup.

1 call to ApigeeMockApiClientHelperTrait::apigeeTestPropertiesSetup()
ApigeeMockApiClientHelperTrait::apigeeTestHelperSetup in tests/modules/apigee_mock_api_client/tests/src/Traits/ApigeeMockApiClientHelperTrait.php
Setup.

File

tests/modules/apigee_mock_api_client/tests/src/Traits/ApigeeMockApiClientHelperTrait.php, line 89

Class

ApigeeMockApiClientHelperTrait
Helper functions working with Apigee tests.

Namespace

Drupal\Tests\apigee_mock_api_client\Traits

Code

protected function apigeeTestPropertiesSetup() {
  $this->stack = $this->container
    ->get('apigee_mock_api_client.mock_http_handler_stack');
  $this->sdkConnector = $this->container
    ->get('apigee_edge.sdk_connector');
  $this->entityTypeManager = $this->container
    ->get('entity_type.manager');
  $this->mockResponseFactory = $this->container
    ->get('apigee_mock_api_client.response_factory');
  $this->integration_enabled = getenv('APIGEE_INTEGRATION_ENABLE');
}