def METHOD_NAME(self, http_mock):
    karrio.Shipment.create(self.ShipmentRequest).from_(gateway)
    url = http_mock.call_args[1]["url"]
    self.assertEqual(
        url,
        f"{gateway.settings.server_url}?{urllib.parse.urlencode(ShipmentRequestQuery)}",
    )