public function testCreateClientNameNotFound() { $this->setExpectedException('\\Aimeos\\Client\\Html\\Exception'); \Aimeos\Client\Html\Basket\Mini\Factory::createClient($this->context, $this->templatePaths, 'notfound'); }
/** * Renders a small basket. */ public function smallAction() { $templatePaths = Base::getAimeos()->getCustomPaths('client/html'); $client = \Aimeos\Client\Html\Basket\Mini\Factory::createClient($this->getContext(), $templatePaths); return $this->getClientOutput($client); }