assertNotNull(mButton);
assertNotNull(mAdapter);
assertNotNull(mListView);
assertTrue(mButton.hasFocus());
assertEquals("expected list adapter to have 1 item",
1, mAdapter.getCount());
assertEquals("expected list view to have 2 items (1 in adapter, plus "
+ "the footer view).",
2, mListView.getCount());
// fails here!!!
assertEquals("Expecting the selected index to be 0, the first non footer "
+ "view item.",
0, mListView.getSelectedItemPosition());