| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | |||
| 32 | |||
| 33 | public function testCreateControllerInvalidName() |
||
| 34 | { |
||
| 35 | $this->setExpectedException( '\\Aimeos\\Controller\\Frontend\\Exception' ); |
||
| 36 | \Aimeos\Controller\Frontend\Service\Factory::createController( \TestHelperFrontend::getContext(), '%^' ); |
||
| 37 | } |
||
| 38 | |||
| 39 | |||
| 40 | public function testCreateControllerNotExisting() |
||
| 41 | { |
||
| 42 | $this->setExpectedException( '\\Aimeos\\Controller\\Frontend\\Exception' ); |
||
| 43 | \Aimeos\Controller\Frontend\Service\Factory::createController( \TestHelperFrontend::getContext(), 'notexist' ); |
||
| 46 |