File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/UnitTest/DI/Bridge/Symfony Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99
1010namespace DI \Bridge \Symfony ;
1111
12- use DI \ContainerInterface ;
1312use DI \NotFoundException ;
1413use Symfony \Component \DependencyInjection \Container as SymfonyContainer ;
1514use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
1615use Symfony \Component \DependencyInjection \ContainerInterface as SymfonyContainerInterface ;
1716use Symfony \Component \DependencyInjection \Exception \ServiceNotFoundException ;
17+ use Interop \Container \ContainerInterface ;
1818
1919/**
2020 * Replacement for the Symfony service container.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function testHasFallback()
1919 {
2020 $ wrapper = new SymfonyContainerBridge ();
2121
22- $ fallback = $ this ->getMockForAbstractClass ('DI \ContainerInterface ' );
22+ $ fallback = $ this ->getMockForAbstractClass ('Interop\Container \ContainerInterface ' );
2323 $ fallback ->expects ($ this ->once ())
2424 ->method ('has ' )
2525 ->with ('foo ' )
@@ -34,7 +34,7 @@ public function testGetFallback()
3434 {
3535 $ wrapper = new SymfonyContainerBridge ();
3636
37- $ fallback = $ this ->getMockForAbstractClass ('DI \ContainerInterface ' );
37+ $ fallback = $ this ->getMockForAbstractClass ('Interop\Container \ContainerInterface ' );
3838 $ fallback ->expects ($ this ->once ())
3939 ->method ('get ' )
4040 ->with ('foo ' )
You can’t perform that action at this time.
0 commit comments