/**
  * When handling the after set qty event,
  * quote item quantities should be checked by checking
  * quote inventory via the quantity service model.
  */
 public function testHandleAfterSetItemQty()
 {
     $quoteItem = Mage::getModel('sales/quote_item');
     $this->_event->setItem($quoteItem);
     // Side-effect test: just need to make sure quote inventory
     // is checked via the quantity service model.
     $this->_quantityService->expects($this->once())->method('checkQuoteItemInventory')->with($this->identicalTo($quoteItem))->will($this->returnSelf());
     $this->_inventoryObserver->handleAfterSetItemQty($this->_eventObserver);
 }