added new serialization factories and their tests
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / serialization / factories / GetQueueConfigInputMessageFactoryTest.java
index 0f2a54199db5c97f1770b7a8ca834346d47925ef..05dd292a8b0d04a0f53d09835ad5515f88c4a0a5 100644 (file)
@@ -18,12 +18,15 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731
  * @author michal.polkorab
  */
 public class GetQueueConfigInputMessageFactoryTest {
-
     private static final byte GET_QUEUE_CONFIG_INPUT_MESSAGE_CODE_TYPE = 22;
     private static final byte PADDING_IN_QUEUE_CONFIG_INPUT_MESSAGE = 4;
     
+    /**
+     * Testing of {@link GetQueueConfigInputMessageFactory} for correct translation from POJO
+     * @throws Exception 
+     */
     @Test
-    public void testWithElements() throws Exception {
+    public void testGetQueueConfigInputMessage() throws Exception {
         GetQueueConfigInputBuilder builder = new GetQueueConfigInputBuilder();
         BufferHelper.setupHeader(builder);
         builder.setPort(new PortNumber(0x00010203L));
@@ -37,5 +40,4 @@ public class GetQueueConfigInputMessageFactoryTest {
         Assert.assertEquals("Wrong port", 0x00010203, out.readUnsignedInt());
         out.skipBytes(PADDING_IN_QUEUE_CONFIG_INPUT_MESSAGE);
     }
-        
 }