public function TranslationRequestManagerTest::testIsTranslationSubmissionMissedFalse in TMGMT Translator Smartling 8.4
Is translation submission missed: false.
File
- tests/
src/ Kernel/ TranslationRequestManagerTest.php, line 213
Class
- TranslationRequestManagerTest
- Tests TranslationRequestManagerTest class.
Namespace
Drupal\Tests\tmgmt_smartling\KernelCode
public function testIsTranslationSubmissionMissedFalse() {
$translation_request_manager_mock = $this
->getMockBuilder(TranslationRequestManager::class)
->setConstructorArgs([
$this->apiWrapperMock,
$this->stateMock,
$this->loggerMock,
])
->setMethods(NULL)
->getMock();
$this
->assertEquals($translation_request_manager_mock
->isTranslationSubmissionMissed([
'translationRequestUid' => 'test',
'translationSubmissions' => [
[
'translationSubmissionUid' => 'test',
],
],
]), FALSE);
}