def METHOD_NAME(self):
    with patch("karrio.mappers.sendle.proxy.http") as mock:
        mock.return_value = ErrorResponseJSON
        parsed_response = (
            Tracking.fetch(self.TrackingRequest).from_(gateway).parse()
        )
        self.assertListEqual(DP.to_dict(parsed_response), ParsedErrorResponse)