public function testProcessInlinesReferencesToAliases() {
$container = new ContainerBuilder();
$a = $container
->register('a', '\\stdClass')
->addArgument(new Reference('b'));
$container
->setAlias('b', new Alias('c', false));
$c = $container
->register('c', '\\stdClass')
->setPublic(false);
$container
->compile();
$this
->assertTrue($container
->hasDefinition('a'));
$arguments = $a
->getArguments();
$this
->assertSame($c, $arguments[0]);
$this
->assertFalse($container
->hasAlias('b'));
$this
->assertFalse($container
->hasDefinition('c'));
}