| 1 | <?php |
||
| 7 | use League\Container\Container; |
||
| 8 | use LinkORB\Component\Etcd\Client; |
||
| 9 | |||
| 10 | class ProviderTest extends TestSuite |
||
| 11 | { |
||
| 12 | public function test() |
||
| 13 | { |
||
| 14 | $container = $this->app->get(Container::class); |
||
| 15 | $this->assertTrue($container->has(BusinessLogic::class)); |
||
| 16 | $this->assertSame($container->get(BusinessLogic::class), $container->get(BusinessLogic::class)); |
||
| 17 | $this->assertSame($container->get(Client::class), $container->get(Client::class)); |
||
| 20 |