public function testSetOriginStore() { $store = $this->getMock('Magento\\Store\\Api\\Data\\StoreInterface'); $store->expects($this->never())->method('getId'); $store->expects($this->never())->method('getWebsiteId'); $this->scopeConfig->setOriginStore($store); }
/** * @param \Magento\Store\Api\Data\StoreInterface $store * @return $this */ public function setOriginStore(StoreInterface $store) { $this->scopeConfig->setOriginStore($store); return $this; }