Selenium Java - TestNG Integration
Given the following code snippet, what will be the output when the test runs?
@DataProvider(name = "numbers")
public Object[][] data() {
return new Object[][] { {1, 2}, {3, 4} };
}
@Test(dataProvider = "numbers")
public void testSum(int a, int b) {
System.out.println(a + b);
}