Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function testDefaultConfig() |
||
12 | { |
||
13 | $configs = array(); |
||
14 | |||
15 | $container = $this->getContainer($configs); |
||
16 | |||
17 | // check location and request |
||
18 | $this->assertInstanceOf('GuzzleHttp\Psr7\Uri', $container->get('location_bundle.uri')); |
||
19 | $this->assertInstanceOf('GuzzleHttp\Psr7\Request', $container->get('location_bundle.request')); |
||
20 | $this->assertInstanceOf('GuzzleHttp\Client', $container->get('location_bundle.http_client')); |
||
21 | $this->assertInstanceOf( |
||
22 | 'AlexeyKuperhstokh\LocationBundle\Client\Client', |
||
23 | $container->get('location_bundle.client') |
||
24 | ); |
||
25 | } |
||
26 | |||
42 |