public function FileApiTest::downloadFileParams in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 api-sdk-php/tests/unit/FileApiTest.php \Smartling\Tests\Unit\FileApiTest::downloadFileParams()
- 8.2 vendor/smartling/api-sdk-php/tests/unit/FileApiTest.php \Smartling\Tests\Unit\FileApiTest::downloadFileParams()
- 8.3 vendor/smartling/api-sdk-php/tests/unit/FileApiTest.php \Smartling\Tests\Unit\FileApiTest::downloadFileParams()
File
- vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php, line 230
Class
- FileApiTest
- Test class for Smartling\File\FileApi.
Namespace
Smartling\Tests\UnitCode
public function downloadFileParams() {
return [
[
(new DownloadFileParameters())
->setRetrievalType(DownloadFileParameters::RETRIEVAL_TYPE_PSEUDO),
'en-EN',
'<?xml version="1.0"?><response><item key="6"></item></response>',
],
[
null,
'en-EN',
'<?xml version="1.0"?><response><item key="6"></item></response>',
],
[
null,
'en',
'{"string1":"translation1", "string2":"translation2"}',
],
];
}