You are here

protected function ApiTestAbstract::setUp in TMGMT Translator Smartling 8.2

Same name in this branch
  1. 8.2 api-sdk-php/tests/unit/ApiTestAbstract.php \Smartling\Tests\Unit\ApiTestAbstract::setUp()
  2. 8.2 vendor/smartling/api-sdk-php/tests/unit/ApiTestAbstract.php \Smartling\Tests\Unit\ApiTestAbstract::setUp()
Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/tests/unit/ApiTestAbstract.php \Smartling\Tests\Unit\ApiTestAbstract::setUp()
  2. 8.3 vendor/smartling/api-sdk-php/tests/unit/ApiTestAbstract.php \Smartling\Tests\Unit\ApiTestAbstract::setUp()

Sets up the fixture, for example, opens a network connection. This method is called before a test is executed.

File

api-sdk-php/tests/unit/ApiTestAbstract.php, line 240

Class

ApiTestAbstract
Class ApiTestAbstract @package Smartling\Tests

Namespace

Smartling\Tests\Unit

Code

protected function setUp() {
  $this
    ->prepareHttpClientMock();
  $this
    ->prepareAuthProviderMock();
  $this
    ->prepareClientResponseMock();
}