public function XmlPluginTest::testParseInvalidSlVariantKeyEntityData in TMGMT Translator Smartling 8.4
Test sl-variant parsing: invalid string (entity data).
File
- tests/
src/ Kernel/ XmlPluginTest.php, line 75
Class
- XmlPluginTest
- Tests for smartling xml plugin.
Namespace
Drupal\Tests\tmgmt_smartling\KernelCode
public function testParseInvalidSlVariantKeyEntityData() {
$parsed_sl_variant = $this
->invokeMethod($this->xmlPlugin, 'parseSmartlingSlVariantKey', [
'node-title][0][value',
]);
$this
->assertEqual($parsed_sl_variant, []);
}