1 package test.configurationfailurepolicy; 2 3 import org.testng.annotations.BeforeMethod; 4 import org.testng.annotations.Test; 5 6 public class ExtendsClassWithFailedBeforeMethod extends ClassWithFailedBeforeMethod { 7 8 @BeforeMethod setupExtension()9 public void setupExtension() { 10 11 } 12 13 @Test test2()14 public void test2() { 15 16 } 17 } 18