### Question:
TypeInsnNode extends AbstractInsnNode { @Override public int getType() { return TYPE_INSN; } TypeInsnNode(final int opcode, final String descriptor); void setOpcode(final int opcode); @Override int getType(); @Override void accept(final MethodVisitor methodVisitor); @Override AbstractInsnNode clone(final Map<LabelNode, LabelNode> clonedLabels); public String desc; }### Answer:
@Test public void testConstructor() { TypeInsnNode typeInsnNode = new TypeInsnNode(Opcodes.NEW, "java/lang/Object"); assertEquals(Opcodes.NEW, typeInsnNode.getOpcode()); assertEquals(AbstractInsnNode.TYPE_INSN, typeInsnNode.getType()); assertEquals("java/lang/Object", typeInsnNode.desc); }