1package test.methods; 2 3import org.testng.annotations.BeforeSuite; 4import org.testng.annotations.Test; 5 6/** 7 * This class verifies that the correct methods were run 8 * 9 * @author cbeust 10 */ 11@Test(dependsOnGroups = { "sample1" }) 12public class VerifyMethod1 { 13 14 @BeforeSuite 15 public void init() { 16 SampleMethod1.reset(); 17 } 18 19 @Test 20 public void verify() { 21 SampleMethod1.verify(); 22 } 23 24} 25