lib/custom/tests/MShop/Customer/Manager/LaravelTest.php 1 location
|
@@ 294-301 (lines=8) @@
|
| 291 |
|
} |
| 292 |
|
|
| 293 |
|
|
| 294 |
|
public function testGetSubManager() |
| 295 |
|
{ |
| 296 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'address' ) ); |
| 297 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager( 'address', 'Standard' ) ); |
| 298 |
|
|
| 299 |
|
$this->setExpectedException( '\\Aimeos\\MShop\\Exception' ); |
| 300 |
|
$this->object->getSubManager( 'unknown' ); |
| 301 |
|
} |
| 302 |
|
|
| 303 |
|
|
| 304 |
|
public function testGetSubManagerInvalidName() |
lib/custom/tests/MShop/Customer/Manager/Lists/LaravelTest.php 1 location
|
@@ 274-281 (lines=8) @@
|
| 271 |
|
} |
| 272 |
|
|
| 273 |
|
|
| 274 |
|
public function testGetSubManager() |
| 275 |
|
{ |
| 276 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager('type') ); |
| 277 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager('type', 'Standard') ); |
| 278 |
|
|
| 279 |
|
$this->setExpectedException( '\\Aimeos\\MShop\\Exception' ); |
| 280 |
|
$this->object->getSubManager( 'unknown' ); |
| 281 |
|
} |
| 282 |
|
|
| 283 |
|
|
| 284 |
|
protected function getListItems() |
lib/custom/tests/MShop/Customer/Manager/Property/LaravelTest.php 1 location
|
@@ 160-167 (lines=8) @@
|
| 157 |
|
} |
| 158 |
|
|
| 159 |
|
|
| 160 |
|
public function testGetSubManager() |
| 161 |
|
{ |
| 162 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager('type') ); |
| 163 |
|
$this->assertInstanceOf( '\\Aimeos\\MShop\\Common\\Manager\\Iface', $this->object->getSubManager('type', 'Standard') ); |
| 164 |
|
|
| 165 |
|
$this->setExpectedException('\\Aimeos\\MShop\\Exception'); |
| 166 |
|
$this->object->getSubManager('unknown'); |
| 167 |
|
} |
| 168 |
|
|
| 169 |
|
|
| 170 |
|
public function testGetSubManagerInvalidName() |