JAL-1270 JUnit to TestNG refactoring
[jalview.git] / test / jalview / datamodel / AlignedCodonIteratorTest.java
index 671c51d..3e3a46d 100644 (file)
@@ -1,14 +1,13 @@
 package jalview.datamodel;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.fail;
+import static org.testng.AssertJUnit.assertEquals;
+import static org.testng.AssertJUnit.assertFalse;
+import org.testng.annotations.Test;
+import org.testng.Assert;
 import jalview.util.MapList;
 
 import java.util.Iterator;
 
-import org.junit.Test;
-
 /**
  * Unit tests for Mapping$AlignedCodonIterator
  * 
@@ -95,7 +94,7 @@ public class AlignedCodonIteratorTest
     try
     {
       codon = codons.next();
-      fail("expected exception");
+      Assert.fail("expected exception");
     } catch (IncompleteCodonException e)
     {
       // expected