public void testMethod() throws Throwable {
  try {
    Method testMethod=testCase.getMethod(testName,null);
    try {
      testMethod.invoke(test,null);
    }
 catch (    InvocationTargetException ex) {
      if (ex.getTargetException() instanceof EETest.Fault)       throw new AssertionFailedError(exceptionToString(ex.getTargetException()));
 else       throw ex.getTargetException();
    }
  }
 catch (  NoSuchElementException ex) {
    throw new AssertionFailedError("Method " + testName + " not found in class "+ testCase.getName());
  }
}

public void testMethod ( ) throws Throwable { try { Method testMethod = testCase . getMethod ( testName , null ) ; try { testMethod . invoke ( test , null ) ; } catch ( InvocationTargetException ex ) { if ( ex . getTargetException ( ) instanceof EETest . Fault ) throw new AssertionFailedError ( exceptionToString ( ex . getTargetException ( ) ) ) ; else throw ex . getTargetException ( ) ; } } catch ( NoSuchElementException ex ) { throw new AssertionFailedError ( "Method " + testName + " not found in class " + testCase . getName ( ) ) ; } }
test method that will be executed .
