3637383940414243444546
public void dpObject3(Integer n, String a, ITestContext ctx) { } @DataProvider public Iterator<Object[]> dp2() { return new MyIterator( new Object[][] { new Object[] { 1, "a" }, new Object[] { 2, "b" }, }); }