def METHOD_NAME(self):
    connect_url = self.gateway.oauth.connect_url({
         "merchant_id": "integration_merchant_id",
         "redirect_uri": "http://bar.example.com",
         "scope": "read_write",
         "state": "baz_state",
         "landing_page": "login",
         "login_only": "true",
         "user": {
           "country": "USA",
           "email": "foo@example.com",
           "first_name": "Bob",
           "last_name": "Jones",
           "phone": "555-555-5555",
           "dob_year": "1970",
           "dob_month": "01",
           "dob_day": "01",
           "street_address": "222 W Merchandise Mart",
           "locality": "Chicago",
           "region": "IL",
           "postal_code": "60606"
         },
         "business": {
           "name": "14 Ladders",
           "registered_as": "14.0 Ladders",
           "industry": "Ladders",
           "description": "We sell the best ladders",
           "street_address": "111 N Canal",
           "locality": "Chicago",
           "region": "IL",
           "postal_code": "60606",
           "country": "USA",
           "annual_volume_amount": "1000000",
           "average_transaction_amount": "100",
           "maximum_transaction_amount": "10000",
           "ship_physical_goods": "true",
           "fulfillment_completed_in": 7,
           "currency": "USD",
           "website": "http://example.com"
        },
        "payment_methods": ["credit_card", "paypal"]
    })
    query_string = urlparse.urlparse(connect_url)[4]
    params = urlparse.parse_qs(query_string)
    self.assertEqual(params["merchant_id"], ["integration_merchant_id"])
    self.assertEqual(params["client_id"], ["client_id$development$integration_client_id"])
    self.assertEqual(params["redirect_uri"], ["http://bar.example.com"])
    self.assertEqual(params["scope"], ["read_write"])
    self.assertEqual(params["state"], ["baz_state"])
    self.assertEqual(params["landing_page"], ["login"])
    self.assertEqual(params["login_only"], ["true"])
    self.assertEqual(params["user[country]"], ["USA"])
    self.assertEqual(params["business[name]"], ["14 Ladders"])
    self.assertEqual(params["payment_methods[]"], ["credit_card", "paypal"])