@Before public void setUp() throws Exception { igv.newSession(); IGV.getMainFrame().requestFocus(); TestUtils.resetPrefsFile(); TestUtils.resetTestUserDefinedGenomes(); IGV.getInstance().getContentPane().getCommandBar().refreshGenomeListComboBox(); }