private static TemporaryStore temporaryStore(){
  if (temporaryStore != null) {
    return temporaryStore;
  }
  UncaughtExceptionHandler uncaughtExceptionHandler=Thread.getDefaultUncaughtExceptionHandler();
  temporaryStore=new TemporaryStore();
  Thread.setDefaultUncaughtExceptionHandler(uncaughtExceptionHandler);
  return temporaryStore;
}

private static TemporaryStore temporaryStore ( ) { if ( temporaryStore != null ) { return temporaryStore ; } UncaughtExceptionHandler uncaughtExceptionHandler = Thread . getDefaultUncaughtExceptionHandler ( ) ; temporaryStore = new TemporaryStore ( ) ; Thread . setDefaultUncaughtExceptionHandler ( uncaughtExceptionHandler ) ; return temporaryStore ; }
get a temporarystore . lazily initialized once per test class .
