JMockit – initialization problem
The accepted answer has fallen a little out of date regarding the links so it’s worth mentioning the various solutions directly. To fix this problem do one of the following: 1 – Specifiy a javaagent Add this to your JUnit execution environment (for your version): -javaagent:path/to/your/jmockit/jmockit-0.998.jar 2 – configure the Surefire plugin in Maven to … Read more