Fixup Augmentable and Identifiable methods changing
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / protocol / serialization / messages / FlowMessageSerializerTest.java
index 04fccd144786e56764c745f983be4d110979913c..8dfbc076d0714d4d68b42459fd739d4701aef249 100644 (file)
@@ -92,12 +92,12 @@ public class FlowMessageSerializerTest extends AbstractSerializerTest {
             .setInstruction(Arrays.asList(
                     new InstructionBuilder()
                             .setOrder(0)
-                            .setKey(new InstructionKey(0))
+                            .withKey(new InstructionKey(0))
                             .setInstruction(new ApplyActionsCaseBuilder()
                                     .setApplyActions(new ApplyActionsBuilder()
                                             .setAction(Collections.singletonList(new ActionBuilder()
                                                     .setOrder(0)
-                                                    .setKey(new ActionKey(0))
+                                                    .withKey(new ActionKey(0))
                                                     .setAction(new SetVlanIdActionCaseBuilder()
                                                             .setSetVlanIdAction(new SetVlanIdActionBuilder()
                                                                     .setVlanId(new VlanId(VLAN_ID))
@@ -109,12 +109,12 @@ public class FlowMessageSerializerTest extends AbstractSerializerTest {
                             .build(),
                     new InstructionBuilder()
                             .setOrder(2)
-                            .setKey(new InstructionKey(2))
+                            .withKey(new InstructionKey(2))
                             .setInstruction(new ApplyActionsCaseBuilder()
                                     .setApplyActions(new ApplyActionsBuilder()
                                             .setAction(Collections.singletonList(new ActionBuilder()
                                                     .setOrder(0)
-                                                    .setKey(new ActionKey(0))
+                                                    .withKey(new ActionKey(0))
                                                     .setAction(new SetTpDstActionCaseBuilder()
                                                             .setSetTpDstAction(new SetTpDstActionBuilder()
                                                                     .setIpProtocol(IP_PROTOCOL)
@@ -127,12 +127,12 @@ public class FlowMessageSerializerTest extends AbstractSerializerTest {
                             .build(),
                     new InstructionBuilder()
                             .setOrder(1)
-                            .setKey(new InstructionKey(1))
+                            .withKey(new InstructionKey(1))
                             .setInstruction(new ApplyActionsCaseBuilder()
                                     .setApplyActions(new ApplyActionsBuilder()
                                             .setAction(Collections.singletonList(new ActionBuilder()
                                                     .setOrder(0)
-                                                    .setKey(new ActionKey(0))
+                                                    .withKey(new ActionKey(0))
                                                     .setAction(new SetTpSrcActionCaseBuilder()
                                                             .setSetTpSrcAction(new SetTpSrcActionBuilder()
                                                                     .setIpProtocol(IP_PROTOCOL)