test= (Test) suiteMethod.invoke(null, new Class[0]);
Test test= (Test) suiteMethod.invoke(null, new Class[0]); if (test != null) { return test; } return warning(JUnitMessages.getString("RemoteTestRunner.error.suite.nullreturn"));
	public Test getTest(Class testClass, String testName, RemoteTestRunner failureListener) {		if (testName != null) {			return setupTest(testClass, createTest(testName, testClass));		}		Method suiteMethod= null;		try {			suiteMethod= testClass.getMethod(JUnit3TestLoader.SUITE_METHODNAME, new Class[0]);		} catch (Exception e) {			// try to extract a test suite automatically			return new TestSuite(testClass);		}		Test test= null;		try {			test= (Test) suiteMethod.invoke(null, new Class[0]); // static			// method		} catch (InvocationTargetException e) {			failureListener.runFailed(JUnitMessages.getFormattedString("RemoteTestRunner.error.invoke", e.getTargetException().toString()), e); //$NON-NLS-1$			return null;		} catch (IllegalAccessException e) {			failureListener.runFailed(JUnitMessages.getFormattedString("RemoteTestRunner.error.invoke", e.toString()), e); //$NON-NLS-1$			return null;		}		return test;	}