Change Uint* IAE messages
[yangtools.git] / yang / yang-common / src / test / java / org / opendaylight / yangtools / yang / common / Uint32Test.java
index 11d77463af9aae3d0ae7cf8346b4b5ccd3469427..81716a14e28f5608923cd4c5f2808cf0369b2736 100644 (file)
@@ -137,4 +137,9 @@ public class Uint32Test {
     public void testBigLong() {
         Uint32.valueOf(4294967296L);
     }
+
+    @Test(expected = NullPointerException.class)
+    public void testNullValueOfString() {
+        Uint32.valueOf((String) null);
+    }
 }