public function testGetContentLoadByOxId()
 {
     $sShopId = $this->getTestConfig()->getShopEdition() == 'EE' ? '1' : 'oxbaseshop';
     $aParams['oxid'] = 'f41427a099a603773.44301043';
     $aParams['assign'] = true;
     $oSmarty = $this->getMock("smarty", array("fetch", "assign"));
     $oSmarty->expects($this->once())->method('fetch')->with($this->equalTo('ox:f41427a099a603773.44301043oxcontent0' . $sShopId))->will($this->returnValue('testvalue'));
     $oSmarty->expects($this->once())->method('assign')->with($this->equalTo(true));
     smarty_function_oxcontent($aParams, $oSmarty);
 }
 public function testGetContentLoadByOxId()
 {
     $sShopId = ShopIdCalculator::BASE_SHOP_ID;
     $aParams['oxid'] = 'f41427a099a603773.44301043';
     $aParams['assign'] = true;
     $oSmarty = $this->getMock("smarty", array("fetch", "assign"));
     $oSmarty->expects($this->once())->method('fetch')->with($this->equalTo('ox:f41427a099a603773.44301043oxcontent0' . $sShopId))->will($this->returnValue('testvalue'));
     $oSmarty->expects($this->once())->method('assign')->with($this->equalTo(true));
     smarty_function_oxcontent($aParams, $oSmarty);
 }