27 calls to ApiTestAbstract::prepareClientResponseMock() in TMGMT Translator Smartling 8.4
- ApiTestAbstract::setUp in vendor/
smartling/ api-sdk-php/ tests/ unit/ ApiTestAbstract.php - Sets up the fixture, for example, opens a network connection. This method is called before a test is executed.
- FileApiTest::testAcceptResponse in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - Test async response with ACCEPTED code.
- FileApiTest::testBadJsonFormatInErrorMessageSendRequest in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::sendRequest @expectedException \Smartling\Exceptions\SmartlingApiException @expectedExceptionMessage Bad response format from Smartling
- FileApiTest::testBadJsonFormatSendRequest in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::sendRequest @expectedException \Smartling\Exceptions\SmartlingApiException @expectedExceptionMessage Bad response format from Smartling
- FileApiTest::testConstructor in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - Tests constructor.
- FileApiTest::testDeleteFile in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::deleteFile
- FileApiTest::testDownloadFile in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::downloadFile
- FileApiTest::testDownloadFileLocaleCheckFails in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::downloadFile @dataProvider downloadFileLocaleCheckSuccessParams @expectedException Smartling\Exceptions\SmartlingApiException
- FileApiTest::testFailedReadFile in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::readFile
- FileApiTest::testFileUploadParams in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - Tests AutoAuthorize logic
- FileApiTest::testGetAuthorizedLocales in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::getAuthorizedLocales
- FileApiTest::testGetExtendedList in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::getExtendedList
- FileApiTest::testGetList in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::getList
- FileApiTest::testGetStatus in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::getStatus
- FileApiTest::testGetStatusForAllLocales in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::getStatusForAllLocales
- FileApiTest::testImport in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::import
- FileApiTest::testLastModified in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::lastModified
- FileApiTest::testLastModifiedInvalidResponseCantParseFormattedTimeString in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::lastModified @expectedException \Smartling\Exceptions\SmartlingApiException @expectedExceptionMessage Can't parse formatted time string: test.
- FileApiTest::testLastModifiedInvalidResponseLastModifiedIsNotSet in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::lastModified @expectedException \Smartling\Exceptions\SmartlingApiException @expectedExceptionMessage Property "lastModified" is not found.
- FileApiTest::testLastModifiedInvalidResponseNoDataFoundItemsNotArray in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::lastModified @expectedException \Smartling\Exceptions\SmartlingApiException @expectedExceptionMessage No data found for file test.xml.
- FileApiTest::testLastModifiedInvalidResponseNoDataFoundNoItems in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::lastModified @expectedException \Smartling\Exceptions\SmartlingApiException @expectedExceptionMessage No data found for file test.xml.
- FileApiTest::testLastModifiedTimeZone in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::lastModified
- FileApiTest::testReadFile in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::readFile
- FileApiTest::testRenameFile in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::renameFile
- FileApiTest::testSendRequest in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::sendRequest @dataProvider sendRequestValidProvider
- FileApiTest::testUploadFile in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::uploadFile
- FileApiTest::testValidationErrorSendRequest in vendor/
smartling/ api-sdk-php/ tests/ unit/ FileApiTest.php - @covers \Smartling\File\FileApi::sendRequest @expectedException \Smartling\Exceptions\SmartlingApiException