/**
  * Tests ConfigNamesMapper::getConfigData().
  */
 public function testGetConfigData()
 {
     $configs = array('system.site' => array('name' => 'Drupal', 'slogan' => 'Come for the software, stay for the community!'), 'system.maintenance' => array('enabled' => FALSE, 'message' => '@site is currently under maintenance.'), 'system.rss' => array('items' => array('limit' => 10, 'view_mode' => 'rss')));
     $this->configNamesMapper->setConfigNames(array_keys($configs));
     $config_factory = $this->getConfigFactoryStub($configs);
     $this->configNamesMapper->setConfigFactory($config_factory);
     $result = $this->configNamesMapper->getConfigData();
     $this->assertSame($configs, $result);
 }