src/test/java/guitests/TabPaneTest.java
private void assertActiveListSelected(TabPaneHandle tabPane, int tabIndex) {
        ParcelListPanelHandle actualList = tabPane.getActiveParcelList();
        ParcelListPanelHandle expectedList = (tabIndex == INDEX_FIRST_TAB.getZeroBased())
                ? tabPane.getUndeliveredParcelListPanel() : tabPane.getDeliveredParcelListPanel();

        assertEquals(tabIndex, tabPane.getSelectedTabIndex());
        assertEquals(expectedList, actualList);
        guiRobot.pauseForHuman();
    }
/**
     * checks that the {@code tabPane}'s active list is equivalent to our expected list contained when
     * the tab with {@code tabIndex} is asserted.
     */
checks that the  tabPane's active list is equivalent to our expected list contained when
the tab with  tabIndex is asserted.
checks that the tabPane ' s active list is equivalent to our expected list contained when the tab with tabIndex is asserted .
private void assertActiveListSelected(TabPaneHandle tabPane, int tabIndex) {
        ParcelListPanelHandle actualList = tabPane.getActiveParcelList();
        ParcelListPanelHandle expectedList = (tabIndex == INDEX_FIRST_TAB.getZeroBased())
                ? tabPane.getUndeliveredParcelListPanel() : tabPane.getDeliveredParcelListPanel();
        assertEquals(tabIndex, tabPane.getSelectedTabIndex());
        assertEquals(expectedList, actualList);
        guiRobot.pauseForHuman();
    }
private void assertActiveListSelected ( TabPaneHandle tabPane , int tabIndex ) { ParcelListPanelHandle actualList = tabPane . getActiveParcelList ( ) ; ParcelListPanelHandle expectedList = ( tabIndex == INDEX_FIRST_TAB . getZeroBased ( ) ) ? tabPane . getUndeliveredParcelListPanel ( ) : tabPane . getDeliveredParcelListPanel ( ) ; assertEquals ( tabIndex , tabPane . getSelectedTabIndex ( ) ) ; assertEquals ( expectedList , actualList ) ; guiRobot . pauseForHuman ( ) ; }
checks that the {@code tabPane}'s active list is equivalent to our expected list contained when
 the tab with {@code tabIndex} is asserted.
checks that the { @code tabPane } ' s active list is equivalent to our expected list contained when the tab with { @code tabIndex } is asserted .