rwachol
05/26/2017, 8:13 AMDavid W
05/26/2017, 11:41 AMrwachol
05/26/2017, 11:41 AMDavid W
05/26/2017, 11:41 AMrwachol
05/26/2017, 12:05 PMDavid W
05/26/2017, 12:06 PMMocking of final classes and methods is an incubating, opt-in feature. It uses a combination of Java agent instrumentation and subclassing in order to enable mockability of these types. As this works differently to our current mechanism and this one has different limitations and as we want to gather experience and user feedback, this feature had to be explicitly activated to be available ; it can be done via the mockito extension mechanism by creating the file src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker containing a single line:
mock-maker-inline
rwachol
05/26/2017, 12:37 PM