title: IntelliJ IDEA with Junit 4.7 "!!! JUnit version 3.8 or later expected:"
body: <p>When I attempt to run the following test in <a href="http://en.wikipedia.org/wiki/IntelliJ_IDEA" rel="noreferrer">IntelliJ IDEA</a> I get the message:</p>
  
  <blockquote>
    <p>"!!! JUnit version 3.8 or later expected:"</p>
  </blockquote>
  
  <p>It should be noted that this is an <a href="http://en.wikipedia.org/wiki/Android_%28operating_system%29" rel="noreferrer">Android</a> project I am working on in IntelliJ IDEA 9.</p>
  
  <pre><code>public class GameScoreUtilTest {
      @Test
      public void testCalculateResults() throws Exception {
          final Game game = new Game();
  
          final Player player1 = new Player();
          {
              final PlayedHole playedHole = new PlayedHole();
              playedHole.setScore(1);
              game.getHoleScoreMap().put(player1, playedHole);
          }
          {
              final PlayedHole playedHole = new PlayedHole();
              playedHole.setScore(3);
              game.getHoleScoreMap().put(player1, playedHole);
          }
          final GameResults gameResults = GameScoreUtil.calculateResults(game);
  
          assertEquals(4, gameResults.getScore());
      }
  }
  </code></pre>
  
  <p>The full stack trace looks like this...</p>
  
  <pre><code>!!! JUnit version 3.8 or later expected:
  
  java.lang.RuntimeException: Stub!
      at junit.runner.BaseTestRunner.&lt;init&gt;(BaseTestRunner.java:5)
      at junit.textui.TestRunner.&lt;init&gt;(TestRunner.java:54)
      at junit.textui.TestRunner.&lt;init&gt;(TestRunner.java:48)
      at junit.textui.TestRunner.&lt;init&gt;(TestRunner.java:41)
      at com.intellij.rt.execution.junit.JUnitStarter.junitVersionChecks(JUnitStarter.java:152)
      at com.intellij.rt.execution.junit.JUnitStarter.canWorkWithJUnitVersion(JUnitStarter.java:136)
      at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:49)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:110)
  
  Process finished with exit code -3
  </code></pre>