You are here

protected function FileApiTest::setUp in TMGMT Translator Smartling 8.3

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

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

Overrides ApiTestAbstract::setUp

File

vendor/smartling/api-sdk-php/tests/unit/FileApiTest.php, line 43

Class

FileApiTest
Test class for Smartling\File\FileApi.

Namespace

Smartling\Tests\Unit

Code

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