You are here

protected function ContextApiTest::setUp in TMGMT Translator Smartling 8.2

Same name in this branch
  1. 8.2 api-sdk-php/tests/unit/ContextApiTest.php \Smartling\Tests\ContextApiTest::setUp()
  2. 8.2 vendor/smartling/api-sdk-php/tests/unit/ContextApiTest.php \Smartling\Tests\ContextApiTest::setUp()
Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/tests/unit/ContextApiTest.php \Smartling\Tests\ContextApiTest::setUp()
  2. 8.3 vendor/smartling/api-sdk-php/tests/unit/ContextApiTest.php \Smartling\Tests\ContextApiTest::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/ContextApiTest.php, line 22

Class

ContextApiTest
Test class for Smartling\Context\ContextApi.

Namespace

Smartling\Tests

Code

protected function setUp() {
  parent::setUp();
  $this
    ->prepareContextApiMock();
}