@Test
public void testCreateBufferFileOut() throws TaskIOException, IOException {

    File file = folder.newFile("chuck.norris");
    FileTaskOutput out = new FileTaskOutput(file);
    File tmp = IOUtils.createTemporaryBuffer(out);
    assertTrue(tmp.exists());
    assertTrue(tmp.isFile());
    assertEquals(file.getParent(), tmp.getParent());
}