/**
  * Ensure that when no event handlers add a destination to the ship group that
  * a default destination is still added. Other tests will validate that the
  * proper type of destination is added so this test only needs to ensure
  * that a destination has been added.
  */
 public function testBuildShipGroupForAddressDefaultHandling()
 {
     $items = [];
     $shipGroups = $this->_request->getShipGroups();
     $destinations = $this->_request->getDestinations();
     $orderItems = $this->_request->getOrderItems();
     $constructorArgs = ['api' => $this->_httpApi, 'config' => $this->_config, 'order' => $this->_order, 'payload' => $this->_requestStub];
     $create = Mage::getModel('ebayenterprise_order/create', $constructorArgs);
     $shipGroup = EcomDev_Utils_Reflection::invokeRestrictedMethod($create, '_buildShipGroupForAddress', [$this->_shipAddress, $items, $this->_order, $shipGroups, $destinations, $orderItems]);
     // Ensure there is a destination set.
     $this->assertInstanceOf('\\eBayEnterprise\\RetailOrderManagement\\Payload\\Order\\IDestination', $shipGroup->getDestination());
 }