title: Passing parameter to @Before setup in jUnit test
body: <p>Is there any way to avoid calling populateRandomData() method at the begining of each test without having a fixed parameter 100. I need to call the same method to setup data before execution of each test but I need to change the number of test data entries e.g. 100 in each case . </p>
  
  <pre><code>public class Tester
  {
  
     @Before
      public void setUp() {
          populateRandomData(100)
      }
  
      @Test
      public void testMethod() {
  
      }
  
      private void populateRandomData(n){
          //n times insert random data in table.
      }
  }
  </code></pre>