lib/custom/tests/MShop/Customer/Manager/LaravelTest.php 1 location
|
@@ 295-302 (lines=8) @@
|
292 |
|
} |
293 |
|
|
294 |
|
|
295 |
|
public function testGetSubManager() |
296 |
|
{ |
297 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'address' ) ); |
298 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'address', 'Standard' ) ); |
299 |
|
|
300 |
|
$this->setExpectedException( '\\Aimeos\\MShop\\Exception' ); |
301 |
|
$this->object->getSubManager( 'unknown' ); |
302 |
|
} |
303 |
|
|
304 |
|
|
305 |
|
public function testGetSubManagerInvalidName() |
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/Property/LaravelTest.php 1 location
|
@@ 195-202 (lines=8) @@
|
192 |
|
} |
193 |
|
|
194 |
|
|
195 |
|
public function testGetSubManager() |
196 |
|
{ |
197 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager('type') ); |
198 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager('type', 'Standard') ); |
199 |
|
|
200 |
|
$this->setExpectedException('\\Aimeos\\MShop\\Exception'); |
201 |
|
$this->object->getSubManager('unknown'); |
202 |
|
} |
203 |
|
|
204 |
|
|
205 |
|
public function testGetSubManagerInvalidName() |