Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
5 | public function testGet() |
||
6 | { |
||
7 | $aimeos = $this->app->make('\Aimeos\Shop\Base\Aimeos'); |
||
8 | |||
9 | $configMock = $this->getMockBuilder('\Illuminate\Config\Repository') |
||
10 | ->setMethods( array('get') )->getMock(); |
||
11 | |||
12 | $configMock->expects( $this->exactly(4) )->method('get') |
||
13 | ->will( $this->onConsecutiveCalls( true, 'laravel:', array(), array() ) ); |
||
14 | |||
15 | $object = new \Aimeos\Shop\Base\Config($configMock, $aimeos); |
||
16 | |||
17 | $this->assertInstanceOf( '\Aimeos\MW\Config\Iface', $object->get() ); |
||
18 | } |
||
20 |