title: JUnit instantiating object every time a test case method runs
body: <p><strong>Test case:</strong></p>
  <pre><code>import static org.junit.Assert.assertTrue; 
  import org.junit.Test;
         
          
  public class PendingTest {
      PendingUtil pendingUtil = new PendingUtil();
      boolean result;
      
      @Test
      public void fetchPendingWFFromDB(){
          result = pendingUtil.fetchPendingWFFromDB();
          assertTrue(result);
      }
              
      
       @Test
       public void runPendingBatch() {
       result = pendingUtil.runPendingBatch();
                  assertTrue(result);
      }
      
      @Test
      public void checkQueuePostPendingRun() {
                  result = pendingUtil.checkQueuePostPendingRun();
                  assertTrue(result);
      }
  }
  </code></pre>
  <p><strong>Class called from JUnit test case.</strong></p>
  <pre><code>public class PendingUtil {
  
      public PendingUtil() {
          try {
              System.out.println(&quot;In Const&quot;);
          } catch (SQLException e) {
              e.printStackTrace();
          }
      }
  }
  </code></pre>
  <p>In my test case I only create the object once:</p>
  <pre><code>    PendingUtil pendingUtil = new PendingUtil();
  </code></pre>
  <p>But internally JUnit calls the constructor three times.</p>
  <p>Why is this happening?</p>