def METHOD_NAME(self):
    with patch("karrio.mappers.fedex.proxy.lib.request") as mock:
        mock.return_value = DocumentUploadResponse
        parsed_response = (
            karrio.Document.upload(self.DocumentUploadRequest)
            .from_(gateway)
            .parse()
        )
        self.assertListEqual(
            lib.to_dict(parsed_response), ParsedDocumentUploadResponse
        )