title: Test class should have exactly one public zero-argument constructor
body: <p>I have written a test class, such that is following </p>
  
  <pre><code>public class MyParameterizedClassTest extends BaseRepositoryTest {
      private int multiplierA;
      private int multiplierB;
      public MyParameterizedClassTest(int multiplierA) {
          this.multiplierA = multiplierA;
  
      }   
  
      @Parameters
      public static Collection&lt;Object[]&gt; data() { 
          Object[][] data = new Object[][] { { 1 }, { 5 }, { 121 } };
          return Arrays.asList(data);
      }
  
      @Test
      public void testMultiplyException() {
          assertEquals("Result", multiplierA * multiplierA,multiply(multiplierA));
      }
  
      public int multiply(int a){
          return a*a;
      }
   }
  </code></pre>
  
  <p>And My BaseRepositoryTest class is following</p>
  
  <pre><code>@RunWith (Parameterized.class)
  @ContextConfiguration(locations = {"classpath:applicationContext.xml"})
  public abstract class BaseRepositoryTest extends
      AbstractJUnit4SpringContextTests {
  
  
  
      @Inject
      SessionFactory sessionFactory;
  
      private Transaction transaction;
  
      public Session getSession() {
          Session session;
          try {
              session = sessionFactory.getCurrentSession();
          } catch (SessionException se) {
              session = sessionFactory.openSession();
          }
          return session;
      }
  
      @Before
      public void setUp() throws Exception {
          transaction = getSession().beginTransaction();
      }
  
      @After
      public void tearDown() throws Exception {
          if (transaction != null) {
              transaction.rollback();
          }
          getSession().close();
      }
  
      @Before
      public void baseSetUp() {
          MockitoAnnotations.initMocks(this);
      }
  }
  </code></pre>
  
  <p>When I run my test class it shows like,</p>
  
  <pre><code> Test class should have exactly one public zero-argument constructor:at 
   org.junit.runners.BlockJUnit4ClassRunner.validateZeroArgConstructor
  </code></pre>
  
  <p>I want to make a test method with @parameters,so please  Can anyone please help to find the solution</p>