public function testTemplateNoIdThrowsException()
{
// one service, with a template key, but no id
$services = array('my_collector_service' => array(0 => array('template' => 'foo')));
$builder = $this->createContainerMock($services);
$this->setExpectedException('InvalidArgumentException');
$profilerPass = new ProfilerPass();
$profilerPass->process($builder);
}