You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: shipwire_test.rb
    path of file: ./repos/workarea/core/vendor/active_shipping/test/unit/carriers
    
    the code of the file until where you have to start completion: require 'test_helper'

class ShipwireTest < ActiveSupport::TestCase
  include ActiveShipping::Test::Fixtures

  def setup
    @carrier = Shipwire.new(login: 'l', password: 'p')
    @items   = [{ sku: 'AF0001', quantity: 1 }, { sku: 'AF0002', quantity: 2 }]
  end

  def test_response_with_no_rates_is_unsuccessful
    @carrier.expects(:ssl_post).returns(xml_fixture('shipwire/no_rates_response'))

    assert_raises(ResponseError) do
      @carrier.find_rates(
        location_fixtures[:ottawa],
        location_fixtures[:beverly_hills],
        package_fixtures.values_at(:book, :wii),
        order_id: '#1000',
        items: @items
      )
    end
  end

  def test_successfully_get_international_rates
    date = DateTime.parse("Mon 01 Aug 2011")
    @carrier.expects(:ssl_post).returns(xml_fixture('shipwire/international_rates_response'))

    Timecop.freeze(date) do
      response = @carrier.find_rates(
        location_fixtures[:ottawa],
                   location_fixtures[:london],
                   package_fixtures.values_at(:book, :wii),
                   order_id: '#1000',
                   items: @items
                 )

      assert response.success?

      assert_equal 1, response.rates.size

      assert internationa
    
  def test_successfully_get_domestic_rates
    date = DateTime.parse("Mon 01 Aug 2011")
    @carrier.expects(:ssl_post).returns(xml_fixture('shipwire/rates_response'))

    Timecop.freeze(date) do
      response = @carrier.find_rates(
        location_fixtures[:ottawa],
                   location_fixtures[:beverly_hills],
                   package_fixtures.values_at(:book, :wii),
                   order_id: '#1000',
                   items: @items
                 )

      assert response.success?

      assert_equal 3, response.rates.size

      assert ground = response.rates.find { |r| r.service_code == "GD" }
      assert_equal "UPS", ground.carrier
      assert_equal "UPS Ground", ground.service_name
      assert_equal 773, ground.total_price
      assert_equal [date + 1.day, date + 7.days], ground.delivery_range

      assert two_day = response.rates.find { |r| r.service_code == "2D" }
      assert_equal "UPS", two_day.carrier
      assert_equal "UPS Second Day Air", two_day.service_name
      assert_equal 1364, two_day.total_price
      assert_equal [date + 2.days, date + 2.days], two_day.delivery_range

      assert one_day = response.rates.find { |r| r.service_code == "1D" }
      assert_equal "USPS", one_day.carrier
      assert_equal "USPS Express Mail", one_day.service_name
      assert_equal 2525, one_day.total_price
      assert_equal [date + 1.day, date + 1.day], one_day.delivery_range
    end
  end