Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
22 | public function test_getProvider_with_string() |
||
23 | { |
||
24 | $repository = new ProviderRepository(); |
||
25 | $repository->setContainer(new Container()); |
||
26 | $repository->add(DemoServiceProvider::class); |
||
27 | self::assertInstanceOf(DemoServiceProvider::class, $repository->getProvider(DemoServiceProvider::class)); |
||
28 | } |
||
39 | } |