/**
  * @dataProvider provideVisit
  */
 public function testVisit($package, $expectedCost)
 {
     $calculator = new AramexCalculatorHandler(['zones' => [['name' => 1, 'weight_prices' => [['weight' => 10, 'price' => 21.4], ['weight' => 1000, 'price' => 42.8]]]], 'import_countries' => [$this->getFixture('import_country_usa')], 'export_countries' => [$this->getFixture('export_country_usa')], 'mass_unit' => 'lb', 'dimensions_unit' => 'in', 'maximum_dimension' => 41.338, 'maximum_perimeter' => 300, 'maximum_weight' => 60]);
     $result = new CalculationResult();
     $calculator->visit($result, $package);
     $this->assertInstanceOf('EsteIt\\ShippingCalculator\\Model\\CalculationResultInterface', $result);
     $this->assertNull($result->getError());
     $this->assertSame($expectedCost, $result->getTotalCost());
     $this->assertSame('USD', $result->getCurrency());
 }