@@ -19,7 +19,7 @@ public function testFooConnectionDefinition()
19
19
$ definition = $ container ->getDefinition ('old_sound_rabbit_mq.connection.foo_connection ' );
20
20
$ this ->assertTrue ($ container ->has ('old_sound_rabbit_mq.connection_factory.foo_connection ' ));
21
21
$ factory = $ container ->getDefinition ('old_sound_rabbit_mq.connection_factory.foo_connection ' );
22
- $ this ->assertEquals ('old_sound_rabbit_mq.connection_factory.foo_connection ' , $ definition ->getFactoryService ());
22
+ $ this ->assertEquals (array ( 'old_sound_rabbit_mq.connection_factory.foo_connection ' , ' createConnection ' ), $ definition ->getFactory ());
23
23
$ this ->assertEquals (array (
24
24
'host ' => 'foo_host ' ,
25
25
'port ' => 123 ,
@@ -44,7 +44,7 @@ public function testSslConnectionDefinition()
44
44
$ definition = $ container ->getDefinition ('old_sound_rabbit_mq.connection.ssl_connection ' );
45
45
$ this ->assertTrue ($ container ->has ('old_sound_rabbit_mq.connection_factory.ssl_connection ' ));
46
46
$ factory = $ container ->getDefinition ('old_sound_rabbit_mq.connection_factory.ssl_connection ' );
47
- $ this ->assertEquals ('old_sound_rabbit_mq.connection_factory.ssl_connection ' , $ definition ->getFactoryService ());
47
+ $ this ->assertEquals (array ( 'old_sound_rabbit_mq.connection_factory.ssl_connection ' , ' createConnection ' ), $ definition ->getFactory ());
48
48
$ this ->assertEquals (array (
49
49
'host ' => 'ssl_host ' ,
50
50
'port ' => 123 ,
@@ -71,7 +71,7 @@ public function testLazyConnectionDefinition()
71
71
$ definition = $ container ->getDefinition ('old_sound_rabbit_mq.connection.lazy_connection ' );
72
72
$ this ->assertTrue ($ container ->has ('old_sound_rabbit_mq.connection_factory.lazy_connection ' ));
73
73
$ factory = $ container ->getDefinition ('old_sound_rabbit_mq.connection_factory.lazy_connection ' );
74
- $ this ->assertEquals ('old_sound_rabbit_mq.connection_factory.lazy_connection ' , $ definition ->getFactoryService ());
74
+ $ this ->assertEquals (array ( 'old_sound_rabbit_mq.connection_factory.lazy_connection ' , ' createConnection ' ), $ definition ->getFactory ());
75
75
$ this ->assertEquals (array (
76
76
'host ' => 'lazy_host ' ,
77
77
'port ' => 456 ,
@@ -96,7 +96,7 @@ public function testDefaultConnectionDefinition()
96
96
$ definition = $ container ->getDefinition ('old_sound_rabbit_mq.connection.default ' );
97
97
$ this ->assertTrue ($ container ->has ('old_sound_rabbit_mq.connection_factory.default ' ));
98
98
$ factory = $ container ->getDefinition ('old_sound_rabbit_mq.connection_factory.default ' );
99
- $ this ->assertEquals ('old_sound_rabbit_mq.connection_factory.default ' , $ definition ->getFactoryService ());
99
+ $ this ->assertEquals (array ( 'old_sound_rabbit_mq.connection_factory.default ' , ' createConnection ' ), $ definition ->getFactory ());
100
100
$ this ->assertEquals (array (
101
101
'host ' => 'localhost ' ,
102
102
'port ' => 5672 ,
0 commit comments