title: How to import JunitParamsRunner in Java class
body: <p>it is my first day with JUnit. I try to make test with parameters. I have code:</p>
  
  <pre><code>import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.junit.runners.Parameterized;
  
  import static org.junit.Assert.assertEquals;
  
  @RunWith(JUnitParamsRunner.class)
  public class MoneyParameterizedTest {
      private static final Object[] getMoney() {
          return new Object[] {
                  new Object[] {10, "USD"},
                  new Object[] {20, "EUR"}
          };
      }
      @Test
      @Parameterized.Parameters(method = "getMoney")
      public void constructorShouldSetAmountAndCurrency(
              int amount, String currency) {
          Money money = new Money(amount, currency);
          assertEquals(amount, money.getAmount());
          assertEquals(currency, money.getCurrency());
      }
  }
  </code></pre>
  
  <p>IntelliJ told me that: Can't resolve symbol JUnitParamsRunner and method. Is it problem with import? My class which I'm testing is in the same package.</p>
  
  <p>----- <strong>EDIT</strong> -------</p>
  
  <p>I change JunitParamsrunner.class to Parameterized.class and it's okay but problem with symbol 'method' in Parametrized.Parameters is the same.</p>