def METHOD_NAME(self):
    # The uniqueness is not enforced. The first one is returned.
    tester = UITester()
    item1 = Item("submit_button", id="item1")
    item2 = Item("submit_button", id="item2")
    item3 = Item("submit_button", id="item2")
    view = View(item1, item2, item3)
    with tester.create_ui(Order(), dict(view=view)) as ui:
        wrapper = tester.find_by_id(ui, "item2")
        self.assertIs(wrapper._target.item, item2)