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