Selenium Java - TestNG Integration
Identify the error in the following TestNG code snippet:
@BeforeMethod
public void setup() {
System.out.println("Setup");
}
@Test
public void test() {
System.out.println("Test");
}
@AfterMethod
public void teardown() {
System.out.println("Teardown")
}