| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 47 | public function testGetSubManager() |
||
| 48 | { |
||
| 49 | $this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'type' ) ); |
||
| 50 | $this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'type', 'Standard' ) ); |
||
| 51 | |||
| 52 | $this->expectException( '\\Aimeos\\MShop\\Exception' ); |
||
| 53 | $this->object->getSubManager( 'unknown' ); |
||
| 54 | } |
||
| 56 |