title: Junit test in IntelliJ IDE can't see class for testing
body: <p>I created simple Java project in IntelliJ, one class (RandomizedQueue) and generated JUnit test class for it. So it's just two files and they both are in the same directory - src. </p>
  
  <p>Everything compiled and all was well. For some time. Then <em>suddenly</em> - it stopped with this error:</p>
  
  <pre><code>java: cannot find symbol
    symbol:   class RandomizedQueue
    location: class RandomizedQueueTest
  </code></pre>
  
  <p>I tried everything I could think of. Recreating a project worked for a while but the same error reappeared (without any obvious reason). I can't find any logic in this! Compilation from cmd does work.</p>
  
  <p>I tried deleting everything from class and test - and I still can't make an instance in test method.</p>
  
  <p><a href="http://www.sendspace.com/file/tflge2">here is the whole project</a></p>