|
@@ -139,6 +139,8 @@ class XmlFileLoaderTest extends \PHPUnit_Framework_TestCase
|
|
|
$this->assertEquals(array('BazClass', 'configureStatic'), $services['configurator3']->getConfigurator(), '->load() parses the configurator tag');
|
|
|
$this->assertEquals(array(array('setBar', array())), $services['method_call1']->getMethodCalls(), '->load() parses the method_call tag');
|
|
|
$this->assertEquals(array(array('setBar', array('foo', new Reference('foo'), array(true, false)))), $services['method_call2']->getMethodCalls(), '->load() parses the method_call tag');
|
|
|
+ $this->assertNull($services['factory_service']->getClass());
|
|
|
+ $this->assertEquals('getInstance', $services['factory_service']->getFactoryMethod());
|
|
|
$this->assertEquals('baz_factory', $services['factory_service']->getFactoryService());
|
|
|
|
|
|
$aliases = $container->getAliases();
|