new serialization factories and tests
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / deserialization / factories / FlowRemovedMessageFactoryTest.java
index e0c830a3d8147abdf4882d372a839a4caf58c590..6e91cff972e5cb360037332a72d703d83e2916cd 100644 (file)
@@ -29,7 +29,7 @@ public class FlowRemovedMessageFactoryTest {
         Assert.assertTrue(builtByFactory.getCookie().longValue() == 0x0001020304050607L);\r
         Assert.assertTrue(builtByFactory.getPriority() == 0x03);\r
         Assert.assertEquals("Wrong reason", 0x02, builtByFactory.getReason().getIntValue());\r
-        Assert.assertEquals("Wrong tableId", new TableId((long) 4), builtByFactory.getTableId());\r
+        Assert.assertEquals("Wrong tableId", new TableId(4L), builtByFactory.getTableId());\r
         Assert.assertEquals("Wrong durationSec", 0x02L, builtByFactory.getDurationSec().longValue());\r
         Assert.assertEquals("Wrong durationNsec", 0x05L, builtByFactory.getDurationNsec().longValue());\r
         Assert.assertEquals("Wrong idleTimeout", 0x01, builtByFactory.getIdleTimeout().intValue());\r