@Before public void setUp() throws Exception { job = new Job(null, new JobMeta()); entry = new JobEntryFilesExist(); job.getJobMeta().addJobEntry(new JobEntryCopy(entry)); entry.setParentJob(job); job.setStopped(false); File f = File.createTempFile("existingFile", "ext"); f.deleteOnExit(); existingFile1 = f.getPath(); f = File.createTempFile("existingFile", "ext"); f.deleteOnExit(); existingFile2 = f.getPath(); }