Inheritance: implements Sonata\Component\Product\DeliveryInterface
Beispiel #1
0
 public function testGetStatusList()
 {
     $statusList = array(ServiceDeliveryInterface::STATUS_OPEN => 'status_open', ServiceDeliveryInterface::STATUS_PENDING => 'status_pending', ServiceDeliveryInterface::STATUS_SENT => 'status_sent', ServiceDeliveryInterface::STATUS_CANCELLED => 'status_cancelled', ServiceDeliveryInterface::STATUS_COMPLETED => 'status_completed', ServiceDeliveryInterface::STATUS_RETURNED => 'status_returned');
     $this->assertEquals($statusList, BaseDelivery::getStatusList());
     $this->assertEquals($statusList, BaseServiceDelivery::getStatusList());
 }
 /**
  * @static
  *
  * @return array
  */
 public static function getDeliveryStatusList()
 {
     return BaseDelivery::getStatusList();
 }