I am writing this question in the spirit of answering your own questions, as I have found a solution to the problem, but if someone has a better solution, I would love to listen to it.
In the application I'm currently working in, I will subclass the ListView control to add some functions, some of which interact with the ListView properties of SelectedIndices and SelectedItems.
The problem is that when I try to run a unit test, my subclass of the SelectedIndices and SelectedItems properties are not updated when I add items to the selection. I tried both
item.Selected = true
and
listView.SelectedIndices.Add(...)
But SelectedIndices or SelectedItems just don't show up. Unit tests for other parts of the functionality work fine.
unit test ListView?