/** * @test * @expectedException \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException */ public function process_missingAlias_throwException() { $this->createServiceDefinition(); $taggedServices = array('serviceId' => array(0 => array())); $this->stubContainerService($taggedServices); $this->compilerPass->process($this->container); }