Merge remote-tracking branch 'origin/develop' into bug/JAL-2282
[jalview.git] / test / jalview / util / DBRefUtilsTest.java
index c4272b8..468bc3e 100644 (file)
@@ -84,6 +84,13 @@ public class DBRefUtilsTest
     sources = new String[] { "EMBLCDS" };
     selected = DBRefUtils.selectRefs(dbrefs, sources);
     assertNull(selected);
+
+    sources = new String[] { "embl", "uniprot" };
+    selected = DBRefUtils.selectRefs(dbrefs, sources);
+    assertEquals(3, selected.length);
+    assertSame(ref1, selected[0]);
+    assertSame(ref2, selected[1]);
+    assertSame(ref3, selected[2]);
   }
 
   /**