Confirm that you cannot unset the selection using the same API
// Set the selection to first position
mListView.setSelection(0);
assertEquals("Set selection", 0, mListView.getSelectedItemPosition());
// Clear the selection
mListView.setSelection(ListView.INVALID_POSITION);
assertEquals("Set selection", 0, mListView.getSelectedItemPosition());