1 package test.factory; 2 3 import org.testng.annotations.DataProvider; 4 5 public class DPClass { 6 @DataProvider dp()7 static public Object[][] dp() { 8 return new Object[][] { 9 new Object[] { 43 }, 10 new Object[] { 44 }, 11 }; 12 } 13 14 } 15