I've come across an issue where I am trying to mock a 3rd party Java class which implements an interface but changes the return type of a method defined by the interface. The following is a simplified ...
2020-09-30T00:46:39.4931240Z java.lang.instrument.IllegalClassFormatException: Error while instrumenting org/mockito/codegen/HttpServletRequest$MockitoMock$1385459789 ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Birgitta Böckeler, Distinguished Engineer at ...