JAL-3253 jalview.bin.Instance handles all singleton instances -
[jalview.git] / test / jalview / gui / SeqPanelTest.java
index 17e04bf..8067148 100644 (file)
@@ -26,6 +26,7 @@ import static org.testng.Assert.assertTrue;
 
 import jalview.api.AlignViewportI;
 import jalview.bin.Cache;
+import jalview.bin.Instance;
 import jalview.bin.Jalview;
 import jalview.commands.EditCommand;
 import jalview.commands.EditCommand.Action;
@@ -252,7 +253,7 @@ public class SeqPanelTest
   @AfterMethod(alwaysRun = true)
   public void tearDown()
   {
-    Desktop.getInstance().closeAll_actionPerformed(null);
+    Instance.getDesktop().closeAll_actionPerformed(null);
   }
 
   @Test(groups = "Functional")