Beispiel #1
0
 /**
  * Return Store level Service Instance
  *
  * @param int $storeId
  * @return \Magento\Framework\Gdata\Gshopping\Content
  */
 public function getService($storeId = null)
 {
     if ($storeId === null) {
         $storeId = $this->getStoreId();
     }
     return parent::getService($storeId);
 }
Beispiel #2
0
 public function testSetService()
 {
     $this->_model->setService($this->_contentMock);
     $this->assertSame($this->_contentMock, $this->_model->getService());
 }