1 package test.commandline; 2 3 import org.testng.annotations.Test; 4 5 public class OverrideSampleTest { 6 7 @Test f1()8 public void f1() {} 9 10 @Test(groups = "go") f2()11 public void f2() {} 12 } 13