Bug 5947: additional tests for dom-adapter #8
[mdsal.git] / binding / mdsal-binding-java-api-generator / src / test / java / org / opendaylight / yangtools / sal / java / api / generator / LongRangeGeneratorTest.java
diff --git a/binding/mdsal-binding-java-api-generator/src/test/java/org/opendaylight/yangtools/sal/java/api/generator/LongRangeGeneratorTest.java b/binding/mdsal-binding-java-api-generator/src/test/java/org/opendaylight/yangtools/sal/java/api/generator/LongRangeGeneratorTest.java
new file mode 100644 (file)
index 0000000..15294cd
--- /dev/null
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * 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.sal.java.api.generator;
+
+import static org.junit.Assert.assertTrue;
+
+import org.junit.Test;
+
+public class LongRangeGeneratorTest {
+
+    @Test
+    public void convertTest() throws Exception {
+        assertTrue(new LongRangeGenerator().convert(1).equals(new Integer(1).longValue()));
+    }
+}
\ No newline at end of file