fixed typo

This commit is contained in:
Fabien Potencier 2013-03-06 17:55:57 +01:00
parent 380306717c
commit 22c1aa3636

View File

@ -122,7 +122,7 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase
* @expectedException \Symfony\Component\DependencyInjection\Exception\RuntimeException * @expectedException \Symfony\Component\DependencyInjection\Exception\RuntimeException
* @expectedExceptionMessage You have requested a synthetic service ("foo"). The DIC does not know how to construct this service. * @expectedExceptionMessage You have requested a synthetic service ("foo"). The DIC does not know how to construct this service.
*/ */
public function testGetXXX() public function testGetUnsetLoadingServiceWhenCreateServiceThrowsAnException()
{ {
$builder = new ContainerBuilder(); $builder = new ContainerBuilder();
$builder->register('foo', 'stdClass')->setSynthetic(true); $builder->register('foo', 'stdClass')->setSynthetic(true);