public function process_taggedServices_replaceArgumentWithServiceList()
{
$this->createServiceDefinition();
$taggedServices = array('serviceId' => array(0 => array('alias' => 'providerAlias')));
$this->stubContainerService($taggedServices);
//Mock the Definition
$this->registryDefinition->expects($this->once())->method('replaceArgument')->with(3, array('providerAlias' => new Reference('serviceId')));
$this->voterDefinition->expects($this->once())->method('replaceArgument')->with(1, array('providerAlias'));
$this->compilerPass->process($this->container);
}