@AfterClass public void afterClass() throws IOException { buffer.close(); deleteUsedFiles(FILE_COUNT); storageLocal.delete(); }
@BeforeMethod public void beforeMethod() throws IOException { if (buffer != null) { buffer.close(); deleteUsedFiles(FILE_COUNT); } initBuffer(); Random random = new Random(); seed = (byte) (random.nextInt() & 0xFF); }