Exemplo n.º 1
0
 /**
  * @covers Symfony\Components\DependencyInjection\ContainerBuilder::getServiceIds
  */
 public function testGetServiceIds()
 {
     $builder = new ContainerBuilder();
     $builder->register('foo', 'stdClass');
     $builder->bar = $bar = new \stdClass();
     $builder->register('bar', 'stdClass');
     $this->assertEquals(array('foo', 'bar', 'service_container'), $builder->getServiceIds(), '->getServiceIds() returns all defined service ids');
 }