| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function test() |
||
| 10 | { |
||
| 11 | $config = $this->app->get(Config::class); |
||
| 12 | $this->assertInstanceOf(Config::class, $config); |
||
| 13 | |||
| 14 | $this->assertSame($config, $this->app->get(Config::class)); |
||
| 15 | |||
| 16 | $this->assertSame($config['service'], 'example'); |
||
| 17 | $this->assertSame($config['environment'], 'testing'); |
||
| 18 | $this->assertSame($config['etcd.connection'], 'http://etcd:2379'); |
||
| 19 | $this->assertCount(4, get_object_vars($config)); |
||
| 20 | } |
||
| 21 | } |
||
| 22 |