Merge "Error code support for ErrorMessage"
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / serialization / factories / TableModInputMessageFactoryTest.java
index ddcdb27c664daf0897928fc2fcafb7cd65f09270..e0e3d78c4e552007c51a992418851cee60a50778 100644 (file)
@@ -8,6 +8,7 @@ import junit.framework.Assert;
 import org.junit.Test;\r
 import org.opendaylight.openflowjava.protocol.impl.deserialization.factories.HelloMessageFactoryTest;\r
 import org.opendaylight.openflowjava.protocol.impl.util.BufferHelper;\r
+import org.opendaylight.openflowjava.protocol.impl.util.EncodeConstants;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.TableConfig;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.TableId;\r
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.TableModInput;\r
@@ -28,7 +29,7 @@ public class TableModInputMessageFactoryTest {
     @Test\r
     public void testTableModInput() throws Exception {\r
         TableModInputBuilder builder = new TableModInputBuilder();\r
-        BufferHelper.setupHeader(builder);\r
+        BufferHelper.setupHeader(builder, EncodeConstants.OF13_VERSION_ID);\r
         builder.setTableId(new TableId(9L));\r
         builder.setConfig(new TableConfig(true));\r
         TableModInput message = builder.build();\r