1 package test.priority;
2 
3 import org.testng.annotations.Test;
4 
5 
6 public class WithPrioritySampleTest extends BaseSample {
7   @Test(priority = -2)
first()8   public void first() {
9     add("first");
10   }
11 
12   @Test(priority = -1)
second()13   public void second() {
14     add("second");
15   }
16 
17 }
18