Example #1
0
 public function testGetQtyIncrements()
 {
     $store = 1;
     $this->scopeConfigMock->expects($this->once())->method('getValue')->with(Configuration::XML_PATH_QTY_INCREMENTS, \Magento\Framework\Store\ScopeInterface::SCOPE_STORE, $store)->willReturn(1);
     $this->assertEquals(1, $this->model->getQtyIncrements($store));
 }