Finish test code migration to uint
[openflowplugin.git] / extension / openflowplugin-extension-onf / src / test / java / org / opendaylight / openflowplugin / extension / onf / BundleTestUtils.java
index 6f4bc095e5a28807db1a9e981be0a68b2882c46c..4b8294d6d5ef33cb42fdc65c5f7784c42e887b5c 100644 (file)
@@ -5,7 +5,6 @@
  * 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.openflowplugin.extension.onf;
 
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.ExperimenterId;
@@ -14,6 +13,7 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.on
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.onf.rev170124.bundle.common.grouping.BundlePropertyBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.onf.rev170124.bundle.property.grouping.bundle.property.entry.BundlePropertyExperimenterBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.onf.rev170124.bundle.property.grouping.bundle.property.entry.bundle.property.experimenter.BundlePropertyExperimenterData;
+import org.opendaylight.yangtools.yang.common.Uint32;
 
 /**
  * Abstract class for common Converter util methods.
@@ -24,8 +24,8 @@ public abstract class BundleTestUtils {
         return new BundlePropertyBuilder()
                 .setType(BundlePropertyType.ONFETBPTEXPERIMENTER)
                 .setBundlePropertyEntry(new BundlePropertyExperimenterBuilder()
-                        .setExperimenter(new ExperimenterId(1L))
-                        .setExpType(2L)
+                        .setExperimenter(new ExperimenterId(Uint32.ONE))
+                        .setExpType(Uint32.TWO)
                         .setBundlePropertyExperimenterData(data)
                         .build())
                 .build();