@Before
  public void setUp() throws Exception {
    dir = temporaryFolder.getRoot();

    ext = ".gfs";
    name = testName.getMethodName();
    archive = new File(dir, name + ext);

    mockConfig = mock(StatArchiveHandlerConfig.class);
    mockCollector = mock(SampleCollector.class);
    rollingFileHandler = new MainWithChildrenRollingFileHandler();
  }
Tests behavior that interacts with file system.
geode-core/src/integrationTest/java/org/apache/geode/internal/statistics/StatArchiveHandlerIntegrationTest.java