File tree 2 files changed +3
-3
lines changed
tests/UnitTest/DI/Bridge/Symfony
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
10
10
namespace DI \Bridge \Symfony ;
11
11
12
- use DI \ContainerInterface ;
13
12
use DI \NotFoundException ;
14
13
use Symfony \Component \DependencyInjection \Container as SymfonyContainer ;
15
14
use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
16
15
use Symfony \Component \DependencyInjection \ContainerInterface as SymfonyContainerInterface ;
17
16
use Symfony \Component \DependencyInjection \Exception \ServiceNotFoundException ;
17
+ use Interop \Container \ContainerInterface ;
18
18
19
19
/**
20
20
* Replacement for the Symfony service container.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function testHasFallback()
19
19
{
20
20
$ wrapper = new SymfonyContainerBridge ();
21
21
22
- $ fallback = $ this ->getMockForAbstractClass ('DI \ContainerInterface ' );
22
+ $ fallback = $ this ->getMockForAbstractClass ('Interop\Container \ContainerInterface ' );
23
23
$ fallback ->expects ($ this ->once ())
24
24
->method ('has ' )
25
25
->with ('foo ' )
@@ -34,7 +34,7 @@ public function testGetFallback()
34
34
{
35
35
$ wrapper = new SymfonyContainerBridge ();
36
36
37
- $ fallback = $ this ->getMockForAbstractClass ('DI \ContainerInterface ' );
37
+ $ fallback = $ this ->getMockForAbstractClass ('Interop\Container \ContainerInterface ' );
38
38
$ fallback ->expects ($ this ->once ())
39
39
->method ('get ' )
40
40
->with ('foo ' )
You can’t perform that action at this time.
0 commit comments