def METHOD_NAME(self):
    replace = strop.replace
    self.assertTrue(replace("one!two!three!", '!', '@', 1)
                 == "one@two!three!")
    self.assertTrue(replace("one!two!three!", '!', '@', 2)
                 == "one@two@three!")
    self.assertTrue(replace("one!two!three!", '!', '@', 3)
                 == "one@two@three@")
    self.assertTrue(replace("one!two!three!", '!', '@', 4)
                 == "one@two@three@")
    # CAUTION: a replace count of 0 means infinity only to strop,
    # not to the string .replace() method or to the
    # string.replace() function.
    self.assertTrue(replace("one!two!three!", '!', '@', 0)
                 == "one@two@three@")
    self.assertTrue(replace("one!two!three!", '!', '@')
                 == "one@two@three@")
    self.assertTrue(replace("one!two!three!", 'x', '@')
                 == "one!two!three!")
    self.assertTrue(replace("one!two!three!", 'x', '@', 2)
                 == "one!two!three!")