@Override public String getName() { return annotation.getName(); }
@Override public String getName() { return annotation.getName(); }
public void verifyDataProvider() throws SecurityException, NoSuchMethodException { Method method = MTest1.class.getMethod("otherConfigurations"); IDataProviderAnnotation dataProvider = m_finder.findAnnotation(method, IDataProviderAnnotation.class); Assert.assertNotNull(dataProvider); Assert.assertEquals(dataProvider.getName(), "dp4"); }