Update MRI upstreams for Phosphorus
[openflowplugin.git] / openflowjava / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / serialization / factories / OF10HelloInputMessageFactoryTest.java
index c5ef3fef2a72f3a349b5a16568227cd0b3014c9f..481ad375fe2bc75c073972ec77196c1043fb5796 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.openflowjava.protocol.impl.serialization.factories;
 
 import io.netty.buffer.ByteBuf;
@@ -39,7 +38,7 @@ public class OF10HelloInputMessageFactoryTest {
         registry = new SerializerRegistryImpl();
         registry.init();
         helloFactory = registry.getSerializer(
-                new MessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, HelloInput.class));
+                new MessageTypeKey<>(EncodeConstants.OF_VERSION_1_0, HelloInput.class));
     }
 
     /**
@@ -56,5 +55,4 @@ public class OF10HelloInputMessageFactoryTest {
 
         BufferHelper.checkHeaderV10(out, (byte) 0, 8);
     }
-
 }