def METHOD_NAME(self):
    """Test that items are added to the wishlist properly."""
    old_token = core.search.token
    # First item
    core.search.add_wish(SEARCH_TEXT)
    self.assertEqual(config.sections["server"]["autosearch"][0], SEARCH_TEXT)
    self.assertEqual(core.search.token, old_token + 1)
    self.assertEqual(core.search.token, core.search.token)
    # Second item
    new_item = f"{SEARCH_TEXT}1"
    core.search.add_wish(new_item)
    self.assertEqual(config.sections["server"]["autosearch"][0], SEARCH_TEXT)
    self.assertEqual(config.sections["server"]["autosearch"][1], new_item)