/** * @return Returns the context for the calling thread or throws an * {@link IllegalStateException} if the thread is out of scope. * @throws IllegalStateException If context is not available. */ public static RandomizedContext current() { return context(Thread.currentThread()); }
/** * @return Returns the context for the calling thread or throws an * {@link IllegalStateException} if the thread is out of scope. * @throws IllegalStateException If context is not available. */ public static RandomizedContext current() { return context(Thread.currentThread()); }