// Dispose of resources at test scope.
RandomizedContext.current().closeResources(
new ResourceDisposal(notifier, c.description), LifecycleScope.TEST);
// Check for run-away threads at the test level.
ThreadLeaks tl = onElement(ThreadLeaks.class, defaultThreadLeaks, c.method, suiteClass);
checkLeftOverThreads(notifier, LifecycleScope.TEST, tl, c.description, beforeTestSnapshot);
// Process uncaught exceptions, if any.
runnerThreadGroup.processUncaught(notifier, c.description);
}