title: Junit method not found
body: <p>I'm trying to build a sample test class using junit framework.<br>
  I've downloaded junit4.9b3.<br>
  When I try to complie my test class I get the following error:-</p>
  
  <pre><code>javac -cp ".;C:\Documents and Settings\user\Desktop\junit\junit4.9b3\junit-4.9b3.jar"     
  TestSubscription.java    
  TestSubscription.java:10: cannot find symbol    
  symbol  : method assertTrue(boolean)    
  location: class TestSubscription    
              assertTrue(s.pricePerMonth()==100.0);        
              ^
  TestSubscription.java:17: cannot find symbol    
  symbol  : method assertTrue(boolean)    
  location: class TestSubscription    
              assertTrue(s.pricePerMonth()==66.67);
              ^
  2 errors
  </code></pre>
  
  <p>Looks like assertTrue is not available but the junit javadoc mentions this method.<br>
  I'm using the import as follows</p>
  
  <pre><code>import org.junit.*;     
  import org.junit.Assert.*;
  </code></pre>
  
  <p>Any ideas?</p>