def METHOD_NAME(self):
    a = InlineQuery(self.id_, User(1, "", False), "", "")
    b = InlineQuery(self.id_, User(1, "", False), "", "")
    c = InlineQuery(self.id_, User(0, "", False), "", "")
    d = InlineQuery(0, User(1, "", False), "", "")
    e = Update(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)