Enable checkstyle in yang-model-util
[yangtools.git] / yang / yang-model-util / src / test / java / org / opendaylight / yangtools / yang / model / util / BitsTypeTest.java
index 5507357018d30a06a183bbd1995b3531b9d273c1..b4054de4cc0f42e5fb04cd66ae3e0ebd924d4060 100644 (file)
@@ -11,6 +11,7 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotEquals;
 import static org.junit.Assert.assertNull;
 import static org.mockito.Mockito.doReturn;
+
 import java.util.Collections;
 import org.junit.Test;
 import org.mockito.Mock;
@@ -27,17 +28,17 @@ public class BitsTypeTest {
     private BitsTypeDefinition.Bit bit;
 
     @Test
-    public void canCreateBitsType(){
+    public void canCreateBitsType() {
         MockitoAnnotations.initMocks(this);
         doReturn("test").when(bit).getName();
 
-        QName qName = QName.create("TestQName");
-        SchemaPath schemaPath = SchemaPath.create(Collections.singletonList(qName), true);
+        QName qname = QName.create("TestQName");
+        SchemaPath schemaPath = SchemaPath.create(Collections.singletonList(qname), true);
 
         BitsTypeDefinition bitsType = BaseTypes.bitsTypeBuilder(schemaPath).addBit(bit).build();
 
         assertNull("Description is not null", bitsType.getDescription());
-        assertEquals("QName", qName, bitsType.getQName());
+        assertEquals("QName", qname, bitsType.getQName());
         assertNull("Should be null", bitsType.getUnits());
         assertNotEquals("Description should not be null", null, bitsType.toString());
         assertNull("Reference is not null", bitsType.getReference());
@@ -56,4 +57,4 @@ public class BitsTypeTest {
 
     }
 
-}
\ No newline at end of file
+}