Refactored parsing of YANG uses statement.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-generator-impl / src / test / java / org / opendaylight / controller / sal / binding / generator / impl / GeneratedTypesBitsTest.java
index af08ac2d0a279eaf9cb0757391a5d43f512cd8b0..c98f8bfeae4b70bae858006d752f23b815409b65 100644 (file)
@@ -1,8 +1,6 @@
 package org.opendaylight.controller.sal.binding.generator.impl;
 
 package org.opendaylight.controller.sal.binding.generator.impl;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.*;
 
 import java.io.File;
 import java.util.ArrayList;
 
 import java.io.File;
 import java.util.ArrayList;
@@ -134,10 +132,8 @@ public class GeneratedTypesBitsTest {
         assertTrue(getByteLeafMethodFound);
         assertEquals(nameReturnParamType,"ByteType");
 
         assertTrue(getByteLeafMethodFound);
         assertEquals(nameReturnParamType,"ByteType");
 
-        assertTrue(setByteLeafMethodFound);
-        assertEquals(setByteLeafMethodParamNum,1);
-        assertEquals(nameMethodeParamType,"ByteType");
-
+        assertFalse(setByteLeafMethodFound);
+        assertEquals(0, setByteLeafMethodParamNum);
     }
 
 }
\ No newline at end of file
     }
 
 }
\ No newline at end of file