Selenium Java - TestNG Integration
Given the following TestNG class, what will be the output order?
public class SampleTest {
@BeforeMethod
public void setup() { System.out.println("Setup"); }
@Test
public void test1() { System.out.println("Test1"); }
@Test
public void test2() { System.out.println("Test2"); }
@AfterMethod
public void teardown() { System.out.println("Teardown"); }
}