JAL-2154 test that verifyAlignment fails for duplicate entries for same SequenceI...
[jalview.git] / test / jalview / datamodel / AlignmentTest.java
index 003f2aa..915d860 100644 (file)
@@ -397,6 +397,9 @@ public class AlignmentTest
             al,
             true,
             "verify should have passed once all sequences involved in alCodonFrame were added to dataset");
+    al.getDataset().addSequence(sqanotherout);
+    assertVerifyAlignment(al, false,
+            "verify should have failed when a sequence was added twice to the dataset");
 
   }
   /*