lib/custom/tests/MShop/Customer/Manager/Lists/LaravelTest.php 1 location
|
@@ 286-293 (lines=8) @@
|
283 |
|
} |
284 |
|
|
285 |
|
|
286 |
|
public function testGetSubManager() |
287 |
|
{ |
288 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager('type') ); |
289 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager('type', 'Standard') ); |
290 |
|
|
291 |
|
$this->setExpectedException( '\\Aimeos\\MShop\\Exception' ); |
292 |
|
$this->object->getSubManager( 'unknown' ); |
293 |
|
} |
294 |
|
|
295 |
|
|
296 |
|
protected function getListItems() |
lib/custom/tests/MShop/Customer/Manager/LaravelTest.php 1 location
|
@@ 258-265 (lines=8) @@
|
255 |
|
} |
256 |
|
|
257 |
|
|
258 |
|
public function testGetSubManager() |
259 |
|
{ |
260 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'address' ) ); |
261 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'address', 'Standard' ) ); |
262 |
|
|
263 |
|
$this->setExpectedException( '\\Aimeos\\MShop\\Exception' ); |
264 |
|
$this->object->getSubManager( 'unknown' ); |
265 |
|
} |
266 |
|
|
267 |
|
|
268 |
|
public function testGetSubManagerInvalidName() |