def METHOD_NAME(self):
    l = HashedList()
    self.failIf(l.has_duplicates())
    l = HashedList(range(10))
    self.failIf(l.has_duplicates())
    l.append(5)
    self.failUnless(l.has_duplicates())