}
public void testDoubleNestedWithThread()
{
ExecutionException e = getDoubleNestedException();
String name = this.getClass().getName();
Throwable focus = findInnermostWithClass( e, name );
assertEquals( e, focus );
List<StackTraceElement> stackTraceElements = focusInsideClass( focus.getStackTrace(), name );
assertEquals( stackTraceElements.get( stackTraceElements.size() - 1 ).getClassName(), name );
name = "org.apache.maven.surefire.report.RunnableTestClass1";
focus = findInnermostWithClass( e, name );
assertEquals( e.getCause(), focus );
stackTraceElements = focusInsideClass( focus.getStackTrace(), name );
assertEquals( stackTraceElements.get( stackTraceElements.size() - 1 ).getClassName(), name );
}