'_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);
} /**
* Tests ConfigNamesMapper::getDeleteRouteParameters().
*/
public function testGetDeleteRouteParameters() { $route_match =
new RouteMatch('example',
new Route('/test/{langcode}'
),
['langcode' => 'xx'
]);
$this->configNamesMapper->
populateFromRouteMatch($route_match);