public function testGetNotifyStockQty() { $store = 1; $this->scopeConfigMock->expects($this->once())->method('getValue')->with(Configuration::XML_PATH_NOTIFY_STOCK_QTY, \Magento\Framework\Store\ScopeInterface::SCOPE_STORE, $store)->willReturn(1); $this->assertEquals(1, $this->model->getNotifyStockQty($store)); }