@Test
public void testCreateBufferDirectoryOutNonExisting() throws TaskIOException {

    DirectoryTaskOutput out = new DirectoryTaskOutput(new File("I dont exist"));
    File tmp = IOUtils.createTemporaryBuffer(out);
    assertTrue(tmp.exists());
    assertTrue(tmp.isFile());
    assertEquals(SystemUtils.getJavaIoTmpDir().getAbsolutePath(), tmp.getParent());
}