'_config_translation_form_access' => 'TRUE',
] );
$result =
$this->configNamesMapper->
getAddRoute();
$this->
assertSame(serialize($expected),
serialize($result));
} /**
* Tests ConfigNamesMapper::getEditRouteName().
*/
public function testGetEditRouteName() { $result =
$this->configNamesMapper->
getEditRouteName();
$expected = 'config_translation.item.edit.' .
$this->pluginDefinition
['base_route_name'
];
$this->
assertSame($expected,
$result);
} /**
* Tests ConfigNamesMapper::getEditRouteParameters().
*/
public function testGetEditRouteParameters() { $route_match =
new RouteMatch('example',
new Route('/test/{langcode}'
),
['langcode' => 'xx'
]);
$this->configNamesMapper->
populateFromRouteMatch($route_match);