def METHOD_NAME(self):
    with patch("karrio.mappers.purolator.proxy.http") as mock:
        mock.return_value = "<a></a>"
        karrio.Address.validate(self.AddressValidationRequest).from_(gateway)
        self.assertEqual(
            mock.call_args[1]["url"],
            f"{gateway.settings.server_url}/EWS/V2/ServiceAvailability/ServiceAvailabilityService.asmx",
        )