protected File createFreshTempDir() { try { return temporaryFolder.newFolder(); } catch (IOException e) { throw new AssertionError(e); } }
protected File createTempDir() { if (temporaryFolder != null && temporaryFolder.isInitialized()) { try { return temporaryFolder.newFolder(); } catch (IOException e) { throw new RuntimeIOException(e); } } return com.google.common.io.Files.createTempDir(); }