* <p>Supports JUnit's {@link Test#timeout() @Test(timeout=...)} annotation.
* @return the timeout, or <code>0</code> if none was specified
*/
public long getTimeout() {
Test testAnnotation = getMethod().getAnnotation(Test.class);
return (testAnnotation != null && testAnnotation.timeout() > 0 ? testAnnotation.timeout() : 0);
}
/**
* Convenience method for {@link Method#invoke(Object,Object...) invoking}
* the method associated with this test method. Throws exceptions consistent