Remove deprecated Lambda instruction builder method

Change-Id: I77dba40e174308744617e413cb517de440f1093e
diff --git a/core/common/src/test/java/org/onosproject/codec/impl/InstructionCodecTest.java b/core/common/src/test/java/org/onosproject/codec/impl/InstructionCodecTest.java
index 29af34a..bafbc0f 100644
--- a/core/common/src/test/java/org/onosproject/codec/impl/InstructionCodecTest.java
+++ b/core/common/src/test/java/org/onosproject/codec/impl/InstructionCodecTest.java
@@ -26,6 +26,7 @@
 import org.onosproject.codec.JsonCodec;
 import org.onosproject.net.ChannelSpacing;
 import org.onosproject.net.GridType;
+import org.onosproject.net.IndexedLambda;
 import org.onosproject.net.Lambda;
 import org.onosproject.net.PortNumber;
 import org.onosproject.net.flow.instructions.Instruction;
@@ -101,7 +102,7 @@
     public void modLambdaInstructionTest() {
         final L0ModificationInstruction.ModLambdaInstruction instruction =
                 (L0ModificationInstruction.ModLambdaInstruction)
-                        Instructions.modL0Lambda((short) 55);
+                        Instructions.modL0Lambda(new IndexedLambda(55));
         final ObjectNode instructionJson =
                 instructionCodec.encode(instruction, context);
         assertThat(instructionJson, matchesInstruction(instruction));