public function testGetEditRoute() { $expected =
new Route('/admin/config/system/site-information/translate/{langcode}/edit',
[ '_form' => '\Drupal\config_translation\Form\ConfigTranslationEditForm',
'plugin_id' => 'system.site_information_settings',
],
[ '_config_translation_form_access' => 'TRUE',
] );
$result =
$this->configNamesMapper->
getEditRoute();
$this->
assertSame(serialize($expected),
serialize($result));
} /**
* Tests ConfigNamesMapper::getDeleteRouteName().
*/
public function testGetDeleteRouteName() { $result =
$this->configNamesMapper->
getDeleteRouteName();
$expected = 'config_translation.item.delete.' .
$this->pluginDefinition
['base_route_name'
];
$this->
assertSame($expected,
$result);
}