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
|
@@ 260-267 (lines=8) @@
|
257 |
|
} |
258 |
|
|
259 |
|
|
260 |
|
public function testGetSubManager() |
261 |
|
{ |
262 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'address' ) ); |
263 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'address', 'Standard' ) ); |
264 |
|
|
265 |
|
$this->setExpectedException( '\\Aimeos\\MShop\\Exception' ); |
266 |
|
$this->object->getSubManager( 'unknown' ); |
267 |
|
} |
268 |
|
|
269 |
|
|
270 |
|
public function testGetSubManagerInvalidName() |
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() |