def METHOD_NAME(self):
    with patch("karrio.mappers.usps.proxy.http") as mocks:
        mocks.return_value = ShipmentResponseXML
        parsed_response = (
            karrio.Shipment.create(self.ShipmentRequest).from_(gateway).parse()
        )
        self.assertListEqual(DP.to_dict(parsed_response), ParsedShipmentResponse)