public function testCreateClientNameNotFound() { $this->setExpectedException('\\Aimeos\\Client\\Html\\Exception'); \Aimeos\Client\Html\Basket\Standard\Factory::createClient($this->context, $this->templatePaths, 'notfound'); }
/** * Processes requests and renders the basket. */ public function indexAction() { $templatePaths = Base::getAimeos()->getCustomPaths('client/html'); $client = \Aimeos\Client\Html\Basket\Standard\Factory::createClient($this->getContext(), $templatePaths); return $this->getClientOutput($client); }