Bug 2245 Fixed Avoid cycle between java packages
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / serialization / factories / OF10QueueGetConfigInputMessageFactoryTest.java
index cc2a7576096c54d3c21ee5f1b6aab1d20f878ebe..81234dde452002f460008827913a4bca0f422f7f 100644 (file)
@@ -10,13 +10,12 @@ package org.opendaylight.openflowjava.protocol.impl.serialization.factories;
 
 import io.netty.buffer.ByteBuf;
 import io.netty.buffer.UnpooledByteBufAllocator;
-import junit.framework.Assert;
-
+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.protocol.api.util.EncodeConstants;
@@ -46,7 +45,7 @@ public class OF10QueueGetConfigInputMessageFactoryTest {
 
     /**
      * Testing of {@link OF10QueueGetConfigInputMessageFactory} for correct translation from POJO
-     * @throws Exception 
+     * @throws Exception
      */
     @Test
     public void test() throws Exception {
@@ -54,10 +53,10 @@ public class OF10QueueGetConfigInputMessageFactoryTest {
         BufferHelper.setupHeader(builder, EncodeConstants.OF10_VERSION_ID);
         builder.setPort(new PortNumber(6653L));
         GetQueueConfigInput message = builder.build();
-        
+
         ByteBuf out = UnpooledByteBufAllocator.DEFAULT.buffer();
         queueFactory.serialize(message, out);
-        
+
         BufferHelper.checkHeaderV10(out, (byte) 20, 12);
         Assert.assertEquals("Wrong port", 6653L, out.readUnsignedShort());
         out.skipBytes(2);