Fix single method mode for JUnit4