Reformulate YangInstanceIdentifierWriterTest
[yangtools.git] / data / yang-data-api / src / test / resources / YT1392 / test.yang
diff --git a/data/yang-data-api/src/test/resources/YT1392/test.yang b/data/yang-data-api/src/test/resources/YT1392/test.yang
new file mode 100644 (file)
index 0000000..05fa3a8
--- /dev/null
@@ -0,0 +1,34 @@
+module test {
+  namespace test;
+  prefix test;
+
+  container container-1 {
+    container container-2 {
+      container container-3 {
+        container payload-container {
+          leaf payload-leaf {
+            type string;
+          }
+        }
+      }
+    }
+  }
+
+  choice choice-node {
+    container container-in-case;
+  }
+
+  list list-1 {
+    key list-1-key;
+
+    leaf list-1-key {
+      type string;
+    }
+
+    container container-1;
+  }
+
+  leaf-list list-list {
+    type string;
+  }
+}