Split out AbstractValidation
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / schema / tree / YT776Test.java
index 6d6bcdc8da07c6aa96949511fcac1adf8ff805e7..d6295726a3569bf9330e8d2848cf71f51a8cd732 100644 (file)
@@ -64,7 +64,7 @@ public class YT776Test {
 
     @BeforeClass
     public static void beforeClass() {
-        SCHEMA_CONTEXT = TestModel.createTestContext("/yt776/yt776.yang");
+        SCHEMA_CONTEXT = TestModel.createTestContext("/yt776.yang");
     }
 
     @AfterClass
@@ -114,7 +114,7 @@ public class YT776Test {
             mod.ready();
             fail("Should fail with IAE");
         } catch (IllegalArgumentException e) {
-            assertEquals("Node (yt776)attributes does not have enough elements (0), needs at least 1", e.getMessage());
+            assertEquals("(yt776)attributes does not have enough elements (0), needs at least 1", e.getMessage());
         }
     }
 
@@ -166,7 +166,7 @@ public class YT776Test {
             mod.ready();
             fail("Should fail with IAE");
         } catch (IllegalArgumentException e) {
-            assertEquals("Node (yt776)attributes has too many elements (3), can have at most 2", e.getMessage());
+            assertEquals("(yt776)attributes has too many elements (3), can have at most 2", e.getMessage());
         }
     }