def METHOD_NAME(self):
    model = PyListModel()
    view = ListViewFilter()
    view._ListViewFilter__search.textEdited.emit("two")
    view.model().setSourceModel(model)
    model.wrap(["one", "two", "three", "four"])
    self.assertEqual(view.model().rowCount(), 1)
    self.assertEqual(model.rowCount(), 4)