/**
  * Stub out dependencies to get through a very basic completion of an order
  * submit.
  *
  * @return self
  */
 protected function _stubForBasicOrderSubmitCompletion()
 {
     // Stubs to get through submit order. Assertions related to these stubs
     // will be covered in more targeted tests.
     $this->_customerSession->method('isLoggedIn')->will($this->returnValue(false));
     $this->_multishippingFactory->method('createOrderSaveTransaction')->will($this->returnValue($this->_transaction));
     $this->_order->method('addData')->will($this->returnSelf());
     $this->_order->method('collectShipmentAmounts')->will($this->returnSelf());
     $this->_order->method('getItemsCollection')->will($this->returnValue([]));
     $this->_order->method('setId')->will($this->returnSelf());
     $this->_order->method('setPayment')->will($this->returnSelf());
     $this->_order->method('setQuote')->will($this->returnSelf());
     $this->_quote->method('getAllAddresses')->will($this->returnValue([]));
     $this->_quote->method('getCustomer')->will($this->returnValue($this->_customer));
     $this->_quote->method('getPayment')->will($this->returnValue($this->_quotePayment));
     $this->_quoteConvertor->method('paymentToOrderPayment')->will($this->returnValue($this->_orderPayment));
     $this->_quoteConvertor->method('toOrder')->will($this->returnValue($this->_order));
     return $this;
 }