/**
  * @group AliasAlias
  */
 public function testInstanceManagerResolvesRecursiveAliasesForConfiguration()
 {
     $config = array('parameters' => array('username' => 'my-username'));
     $im = new InstanceManager();
     $im->addAlias('bar-alias', 'Some\\Class');
     $im->addAlias('foo-alias', 'bar-alias');
     $im->setConfiguration('bar-alias', $config);
     $config['injections'] = array();
     $this->assertEquals($config, $im->getConfiguration('foo-alias'));
 }