def METHOD_NAME(self):
    a = InlineQueryResultVenue(
        self.id_, self.longitude, self.latitude, self.title, self.address
    )
    b = InlineQueryResultVenue(
        self.id_, self.longitude, self.latitude, self.title, self.address
    )
    c = InlineQueryResultVenue(self.id_, "", self.latitude, self.title, self.address)
    d = InlineQueryResultVenue("", self.longitude, self.latitude, self.title, self.address)
    e = InlineQueryResultVoice(self.id_, "", "")
    assert a == b
    assert hash(a) == hash(b)
    assert a is not b
    assert a == c
    assert hash(a) == hash(c)
    assert a != d
    assert hash(a) != hash(d)
    assert a != e
    assert hash(a) != hash(e)