->
method('getPathFromRoute'
) ->
with('system.site_information_settings',
[]) ->
willReturn('/admin/config/system/site-information'
);
$result =
$this->configNamesMapper->
getBasePath();
$this->
assertSame('/admin/config/system/site-information',
$result);
} /**
* Tests ConfigNamesMapper::getOverviewRouteName().
*/
public function testGetOverviewRouteName() { $result =
$this->configNamesMapper->
getOverviewRouteName();
$expected = 'config_translation.item.overview.' .
$this->pluginDefinition
['base_route_name'
];
$this->
assertSame($expected,
$result);
} /**
* Tests ConfigNamesMapper::getOverviewRouteParameters().
*/
public function testGetOverviewRouteParameters() { $result =
$this->configNamesMapper->
getOverviewRouteParameters();
$this->
assertSame([],
$result);
}