### Question:
MethodInsnNode extends AbstractInsnNode { public void setOpcode(final int opcode) { this.opcode = opcode; } MethodInsnNode(
      final int opcode, final String owner, final String name, final String descriptor);  MethodInsnNode(
      final int opcode,
      final String owner,
      final String name,
      final String descriptor,
      final boolean isInterface); void setOpcode(final int opcode); @Override int getType(); @Override void accept(final MethodVisitor methodVisitor); @Override AbstractInsnNode clone(final Map<LabelNode, LabelNode> clonedLabels); public String owner; public String name; public String desc; public boolean itf; }### Answer:
@Test public void testSetOpcode() { MethodInsnNode methodInsnNode = new MethodInsnNode(Opcodes.INVOKESTATIC, "owner", "name", "()I", false); methodInsnNode.setOpcode(Opcodes.INVOKESPECIAL); assertEquals(Opcodes.INVOKESPECIAL, methodInsnNode.getOpcode()); }