I am learning JUnit and I am getting the following error for the following point in the code:
The attribute method is undefined for the annotation type Parameterized.Parameters
The method is:
@Test
@Parameters(method = "getMoney")
private static final Object[] getMoney() {
return new Object[]{
new Object[]{10, "USD"},
new Object[]{20, "EUR"}
};
}
I have added JUnit and JUnitParams to build path.