1 package test.testng249; 2 3 import org.testng.annotations.Test; 4 5 public class B extends Base { 6 @Override 7 @Test b()8 public void b() { 9 } 10 }