1 package test.configuration;
2 
3 import org.testng.annotations.AfterTest;
4 import org.testng.annotations.BeforeTest;
5 import org.testng.annotations.Test;
6 
7 public class BeforeTestOrdering2Test extends BaseBeforeTestOrdering{
8 
9   @BeforeTest
bt2()10   public void bt2() {
11     log("bt2");
12   }
13 
14   @AfterTest
at2()15   public void at2() {
16     log("at2");
17   }
18 
19   @Test
f2()20   public void f2() {
21     log("f2");
22   }
23 
ppp(String s)24   private static void ppp(String s) {
25     System.out.println("[BeforeTestOrdering2Test] " + s);
26   }
27 
28 }
29