Bug 2245 Fixed Avoid cycle between java packages
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / serialization / factories / OF10PortModInputMessageFactoryTest.java
index b64d6c5cdefbaef933eac9ef976d9fe10d1c14fc..1b98d77d6743e917c31a9cb320efe758ac0be09a 100644 (file)
@@ -13,9 +13,9 @@ import io.netty.buffer.UnpooledByteBufAllocator;
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
-import org.opendaylight.openflowjava.protocol.api.extensibility.MessageTypeKey;
 import org.opendaylight.openflowjava.protocol.api.extensibility.OFSerializer;
 import org.opendaylight.openflowjava.protocol.api.extensibility.SerializerRegistry;
+import org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey;
 import org.opendaylight.openflowjava.protocol.impl.serialization.SerializerRegistryImpl;
 import org.opendaylight.openflowjava.protocol.impl.util.BufferHelper;
 import org.opendaylight.openflowjava.util.ByteBufUtils;
@@ -49,7 +49,7 @@ public class OF10PortModInputMessageFactoryTest {
 
     /**
      * Testing of {@link OF10PortModInputMessageFactory} for correct translation from POJO
-     * @throws Exception 
+     * @throws Exception
      */
     @Test
     public void testPortModInput() throws Exception {
@@ -62,10 +62,10 @@ public class OF10PortModInputMessageFactoryTest {
         builder.setAdvertiseV10(new PortFeaturesV10(true, true, false, false, false, false,
                 false, true, true, false, false, false));
         PortModInput message = builder.build();
-        
+
         ByteBuf out = UnpooledByteBufAllocator.DEFAULT.buffer();
         portModFactory.serialize(message, out);
-        
+
         BufferHelper.checkHeaderV10(out, (byte) 15, 32);
         Assert.assertEquals("Wrong PortNo", message.getPortNo().getValue().longValue(), out.readUnsignedShort());
         byte[] address = new byte[6];