...6 *7 * @author lukas8 */9//NO JUnit specific code here to avoid runtime errors10public abstract class JUnitTestMethod extends BaseTestMethod {11 protected JUnitTestMethod(JUnitTestClass owner, Method method, Object instance) {12 this(owner, method.getName(), method, instance);13 }14 protected JUnitTestMethod(JUnitTestClass owner, String methodName, Method method, Object instance) {15 super(methodName, method, null, instance);16 setTestClass(owner);17 owner.getTestMethodList().add(this);18 }19 @Override20 public boolean isTest() {21 return true;22 }23 @Override24 public ITestNGMethod clone() {25 throw new IllegalStateException("clone is not supported for JUnit");26 }27}...