JAL-1270 JUnit to TestNG refactoring
[jalview.git] / test / MCview / AtomTest.java
index 8c271b3..f337535 100644 (file)
@@ -1,9 +1,8 @@
 package MCview;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-
-import org.junit.Test;
+import static org.testng.AssertJUnit.assertEquals;
+import org.testng.annotations.Test;
+import org.testng.Assert;
 
 public class AtomTest
 {
@@ -54,7 +53,7 @@ public class AtomTest
     {
       new Atom(
               "ATOM    34N  NE2 GLN A  48      22.290   8.595  17.680  1.00 14.30           N");
-      fail("Expected exception");
+      Assert.fail("Expected exception");
     } catch (NumberFormatException e)
     {
       // expected