JMockit is a Java toolkit for automated developer testing.
It contains mocking and faking APIs and a code coverage tool, supporting both JUnit and TestNG.
The mocking API allows all kinds of Java code, without testability restrictions, to be tested
in isolation from selected dependencies.