JAL-1260 unit test for FileFormats updated for GenBank/ENA
[jalview.git] / test / jalview / io / GenBankFileTest.java
index 25ad601..89f0d0e 100644 (file)
@@ -7,7 +7,6 @@ import static org.testng.AssertJUnit.assertNull;
 import java.io.File;
 import java.io.IOException;
 import java.net.MalformedURLException;
-import java.util.Arrays;
 import java.util.List;
 import java.util.Set;
 
@@ -131,7 +130,7 @@ public class GenBankFileTest
      * xref to self : 1
      * protein products: 8
      */
-    List<DBRefEntry> dbrefs = Arrays.asList(seq.getDBRefs());
+    List<DBRefEntry> dbrefs = seq.getDBRefs();
 
     assertEquals(dbrefs.size(), 9);
     // xref to 'self':
@@ -184,7 +183,7 @@ public class GenBankFileTest
     assertEquals(dbref.getSource(), "EMBLCDSPROTEIN");
     assertEquals(dbref.getAccessionId(), "AAA91574.1");
     mapping = dbref.getMap();
-     mapTo = mapping.getTo();
+    mapTo = mapping.getTo();
     assertEquals(mapTo.getName(), "AAA91574.1");
     // the /product qualifier transfers to protein product description
     assertEquals(mapTo.getDescription(), "hypothetical protein");