/** * Tests ConfigNamesMapper::hasTranslation(). */ public function testGetOperations() { $expected = array('translate' => array('title' => 'Translate', 'url' => Url::fromRoute('config_translation.item.overview.system.site_information_settings'))); $result = $this->configNamesMapper->getOperations(); $this->assertEquals($expected, $result); }