Port yang-parser-rfc7950 to JUnit 5
[yangtools.git] / parser / yang-parser-rfc7950 / src / test / java / org / opendaylight / yangtools / yang / stmt / Bug6131Test.java
index 710ffae2296824847ae3d662ebd6d72a52b25792..dfe79a5b1905c2ca86db8aa504cfa9b673d3d7f3 100644 (file)
@@ -5,16 +5,16 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.yangtools.yang.stmt;
 
-import static org.junit.Assert.assertThrows;
+import static org.junit.jupiter.api.Assertions.assertThrows;
 
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
 
-public class Bug6131Test extends AbstractYangTest {
+class Bug6131Test extends AbstractYangTest {
     @Test
-    public void test() {
+    void test() {
+        // FIXME: better exception?
         assertThrows(NullPointerException.class, () -> TestUtils.loadModules("/bugs/bug6131"));
     }
 }
\ No newline at end of file