def METHOD_NAME(self):
    with patch("karrio.mappers.canpar.proxy.http") as mock:
        mock.return_value = AddressValidationResponseXML
        parsed_response = (
            karrio.Address.validate(self.AddressValidationRequest)
            .from_(gateway)
            .parse()
        )
        self.assertEqual(
            DP.to_dict(parsed_response), DP.to_dict(ParsedAddressValidationResponse)
        )