| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 14 | class ProviderRepositoryTest extends AbstractTest |
||
| 15 | { |
||
| 16 | public function test_getProvider_not_exists() |
||
| 20 | } |
||
| 21 | |||
| 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 | } |
||
| 29 | |||
| 30 | public function test_getProvider_with_object() |
||
| 38 | } |
||
| 39 | } |