Beispiel #1
0
 public function testCreateClientNameNotFound()
 {
     $this->setExpectedException('Client_Html_Exception');
     Client_Html_Basket_Related_Factory::createClient($this->_context, $this->_templatePaths, 'notfound');
 }
Beispiel #2
0
 /**
  * Renders the related basket.
  */
 public function relatedAction()
 {
     $templatePaths = Base::getAimeos()->getCustomPaths('client/html');
     $client = \Client_Html_Basket_Related_Factory::createClient($this->getContext(), $templatePaths);
     return $this->getClientOutput($client);
 }