title: JUNIT4 doesn't work under java 8
body: <p>I have some unit-tests for project, which I execute in intellij idea. If I use java 7, tests work fine, but when I change java from 7 to 8, I get this  error stacktrace on all my unit-tests.</p>
  
  <pre><code>java.lang.IllegalArgumentException
  at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
  at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
  at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
  at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)  
  </code></pre>
  
  <p>What is root cause of this problem?</p>
  
  <p>UPDATE - add imports of test class and header.</p>
  
  <pre><code>import junit.framework.TestCase;
  import mockit.Expectations;
  import mockit.NonStrictExpectations;
  import mockit.Mocked;
  
  public class PrepareModule extends TestCase {
  </code></pre>