/** * Tests ConfigNamesMapper::getOverviewPath(). */ public function testGetOverviewPath() { $this->urlGenerator->expects($this->once())->method('getPathFromRoute')->with('config_translation.item.overview.system.site_information_settings', [])->willReturn('/admin/config/system/site-information/translate'); $result = $this->configNamesMapper->getOverviewPath(); $this->assertSame('/admin/config/system/site-information/translate', $result); }