@After
  public void after() throws IOException {
    Files.deleteIfExists(Paths.get(TEST_CSV));
  }
Guice module for testing service / factory behavior
ambari-server/src/test/java/org/apache/ambari/server/serveraction/users/CsvFilePersisterServiceFunctionalTest.java