public function testProcessDoesNotInlineWhenAliasedServiceIsNotOfPrototypeScope() {
$container = new ContainerBuilder();
$container
->register('foo')
->setPublic(false);
$container
->setAlias('moo', 'foo');
$container
->register('service')
->setArguments(array(
$ref = new Reference('foo'),
));
$this
->process($container);
$arguments = $container
->getDefinition('service')
->getArguments();
$this
->assertSame($ref, $arguments[0]);
}