super("com.android.frameworktest", ListBottomGravityMany.class);
super.setUp(); mActivity = getActivity(); mListView = getActivity().getListView();
assertNotNull(mActivity); assertNotNull(mListView); // Last item should be selected assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());