def METHOD_NAME(self):
    model = PyListModel()
    view = ListViewSearch()
    view.setFilterString("two")
    view.setRowHidden = Mock(side_effect=view.setRowHidden)
    view.setModel(model)
    view.setRowHidden.assert_not_called()
    model.wrap(["one", "two", "three", "four"])
    view.setRowHidden.assert_called()
    self.assertTrue(view.isRowHidden(0))
    self.assertFalse(view.isRowHidden(1))
    self.assertTrue(view.isRowHidden(2))
    self.assertTrue(view.isRowHidden(3))