I'm using the library System Rules to testing method that calls System.exit():
@Rule
public final ExpectedSystemExit exit = ExpectedSystemExit.none();
Unfortunately, this piece of code is causing the error ...
initializationError caused an ERROR: org/junit/rules/TestRule
I'm using JUnit 4.7 and System Rules 1.2.0.