Bug 2245 Fixed Avoid cycle between java packages
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / serialization / factories / BarrierInputMessageFactoryTest.java
index 9584bf62ed5cc751735ce8d505babee763ad418a..c0263c30651718d0ca97d32e18400944f27f215e 100644 (file)
@@ -13,9 +13,9 @@ import io.netty.buffer.UnpooledByteBufAllocator;
 
 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;
@@ -45,17 +45,17 @@ public class BarrierInputMessageFactoryTest {
 
     /**
      * Testing of {@link BarrierInputMessageFactory} for correct translation from POJO
-     * @throws Exception 
+     * @throws Exception
      */
     @Test
     public void test() throws Exception {
         BarrierInputBuilder bib = new BarrierInputBuilder();
         BufferHelper.setupHeader(bib, EncodeConstants.OF13_VERSION_ID);
         BarrierInput bi = bib.build();
-        
+
         ByteBuf out = UnpooledByteBufAllocator.DEFAULT.buffer();
         barrierFactory.serialize(bi, out);
-        
+
         BufferHelper.checkHeaderV13(out, BARRIER_REQUEST_MESSAGE_CODE_TYPE, 8);
     }