Utils.addCorrectReturnInstruction(fmv, ReturnType.ReturnTypeBoolean, true);
assertEquals("visitInsn(IRETURN)", fmv.getEvents());
fmv.clearEvents();
Utils.addCorrectReturnInstruction(fmv, ReturnType.ReturnTypeShort, true);
assertEquals("visitInsn(IRETURN)", fmv.getEvents());
fmv.clearEvents();
Utils.addCorrectReturnInstruction(fmv, ReturnType.ReturnTypeLong, true);
assertEquals("visitInsn(LRETURN)", fmv.getEvents());
fmv.clearEvents();
Utils.addCorrectReturnInstruction(fmv, ReturnType.ReturnTypeDouble, true);
assertEquals("visitInsn(DRETURN)", fmv.getEvents());