public function ContextApiFunctionalTest::testGetAllMissingResources in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 api-sdk-php/tests/functional/ContextApiFunctionalTest.php \Smartling\Tests\Functional\ContextApiFunctionalTest::testGetAllMissingResources()
- 8.2 vendor/smartling/api-sdk-php/tests/functional/ContextApiFunctionalTest.php \Smartling\Tests\Functional\ContextApiFunctionalTest::testGetAllMissingResources()
- 8.3 vendor/smartling/api-sdk-php/tests/functional/ContextApiFunctionalTest.php \Smartling\Tests\Functional\ContextApiFunctionalTest::testGetAllMissingResources()
Test for get all missing resources.
File
- vendor/
smartling/ api-sdk-php/ tests/ functional/ ContextApiFunctionalTest.php, line 125
Class
- ContextApiFunctionalTest
- Test class for Project API examples.
Namespace
Smartling\Tests\FunctionalCode
public function testGetAllMissingResources() {
try {
$result = $this->contextApi
->getAllMissingResources();
$this
->assertArrayHasKey('items', $result);
$this
->assertArrayHasKey('all', $result);
} catch (SmartlingApiException $e) {
$this
->fail($e
->getMessage());
}
}