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