Exemplo n.º 1
0
 /**
  * Setup the necessary classes and data
  *
  * @return null
  */
 public function setUp()
 {
     /**
      * Set the carrier class
      *
      * @var Carrier
      */
     $this->_carrier = new Carrier();
     $this->_dataClass = new Data($this->_carrier->getCsvCountryCode(), $this->_carrier->getCsvZoneToDeliveryMethod(), $this->_carrier->getCsvDeliveryMethodMeta(), $this->_carrier->getCsvDeliveryToPrice(), $this->_carrier->getCsvCleanNameMethodGroup());
     $this->_emptyArray = [];
     $this->_testDataClassArray = array('id' => 'TEST_ID', 'code' => 'testcode', 'minimumWeight' => 1.0, 'maximumWeight' => 5.0, 'price' => 0.99, 'insuranceValue' => 10, 'name' => 'Test', 'size' => 'Small');
 }