private function AuthApiTest::prepareAuthApiMock in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 api-sdk-php/tests/unit/AuthApiTest.php \Smartling\Tests\AuthApiTest::prepareAuthApiMock()
- 8.2 vendor/smartling/api-sdk-php/tests/unit/AuthApiTest.php \Smartling\Tests\AuthApiTest::prepareAuthApiMock()
- 8.3 vendor/smartling/api-sdk-php/tests/unit/AuthApiTest.php \Smartling\Tests\AuthApiTest::prepareAuthApiMock()
1 call to AuthApiTest::prepareAuthApiMock()
- AuthApiTest::setUp in vendor/
smartling/ api-sdk-php/ tests/ unit/ AuthApiTest.php - Sets up the fixture, for example, opens a network connection. This method is called before a test is executed.
File
- vendor/
smartling/ api-sdk-php/ tests/ unit/ AuthApiTest.php, line 24
Class
- AuthApiTest
- Test class for Smartling\AuthApi\AuthTokenProvider.
Namespace
Smartling\TestsCode
private function prepareAuthApiMock() {
$this->object = $this
->getMockBuilder('Smartling\\AuthApi\\AuthTokenProvider')
->setMethods(NULL)
->setConstructorArgs([
$this->userIdentifier,
$this->secretKey,
$this->client,
])
->getMock();
}