java.lang.Exception: Method XZY should have no parameters
Did you ever stumbled across the following error during developing test-cases with JUnit and JMockit?
java.lang.Exception: Method XZY should have no parameters
Here is the quick and easy fix for it: Fix the ordering of the dependencies in your pom.xml. The dependency for JMockit has to come first!
Funded by the Europian Union
This article was published in the course of a resarch-project, that is funded by the European Union and the federal state Northrhine-Wetphalia.
It works! Thank you!