public function testGetDeleteRoute() { $expected =
new Route('/admin/config/system/site-information/translate/{langcode}/delete',
[ '_form' => '\Drupal\config_translation\Form\ConfigTranslationDeleteForm',
'plugin_id' => 'system.site_information_settings',
],
[ '_config_translation_form_access' => 'TRUE',
] );
$result =
$this->configNamesMapper->
getDeleteRoute();
$this->
assertSame(serialize($expected),
serialize($result));
} /**
* Tests ConfigNamesMapper::getConfigNames().
*/
public function testGetConfigNames() { $result =
$this->configNamesMapper->
getConfigNames();
$this->
assertSame($this->pluginDefinition
['names'
],
$result);
}