when(table.getItemCount()).thenReturn(25);
when(table.getSelectionIndex()).thenReturn(0);
when(results.getResult(24).getType()).thenReturn(ResultType.DEAD);
when(results.getResult(23).getType()).thenReturn(ResultType.ALIVE);
when(table.getSelectionIndex()).thenReturn(-1);
new PrevHost(table, ResultType.ALIVE).handleEvent(null);
verify(table).setFocus();
verify(table).setSelection(23);
}