1 package test.preserveorder; 2 3 import org.testng.annotations.Test; 4 5 public class ChuckTest3 { 6 7 @Test(groups = {"functional"}, dependsOnMethods = {"c3TestTwo"}) c3TestThree()8 public void c3TestThree() { 9 // System.out.println("chucktest3: test three"); 10 } 11 12 @Test(groups = {"functional"}) c3TestOne()13 public static void c3TestOne() { 14 // System.out.println("chucktest3: test one"); 15 } 16 17 @Test(groups = {"functional"}, dependsOnMethods = {"c3TestOne"}) c3TestTwo()18 public static void c3TestTwo() { 19 // System.out.println("chucktest3: test two"); 20 } 21 22 } 23