title: Java Junit testing problem
body: <p>I am using Junit 4. My whole program is working fine. I am trying to write a test case. But there is one error...</p>
  
  <p>here is very basic sample test</p>
  
  <pre><code>public class di  extends TestCase{
      private static Records testRec;
      public void testAbc() {
          Assert.assertTrue(
              "There should be some thing.",
              di.testRec.getEmployee() &gt; 0);
      }
  
  }
  </code></pre>
  
  <p>and when i run this it give me error that </p>
  
  <pre><code>fName can not be null
  </code></pre>
  
  <p>if i use super and do like this </p>
  
  <pre><code>public TestA() {
  super("testAbc");
  }
  </code></pre>
  
  <p>it work all fine. It wasn't this before with JUnit 3.X 
  am I doing wrong or they changed it :(
  Sorry if I am not clear </p>
  
  <p>Is there any way to executre test without super? or calling functions etc. ?</p>