### Question:
DeleteProjectFilesTask extends Task { public synchronized int getFileCount() { return statistics.getFileCount(); } DeleteProjectFilesTask(Set<DomainFolder> folders, Set<DomainFile> files, int fileCount,
			Component parent); @Override void run(TaskMonitor monitor); synchronized int getFileCount(); synchronized int getTotalDeleted();  }### Answer:
@Test public void testSelectedFileContainedInSelectedFolder() { createDeleteAction(CollectionUtils.asSet(b), CollectionUtils.asSet(b.getFile("prog_1"))); runAction(); confirmDelete(); assertEquals(10, task.getFileCount()); }
@Test public void testDeleteFolderAndParentFolderInSelection() { createDeleteAction(CollectionUtils.asSet(a, aa), null); runAction(); confirmDelete(); assertEquals(20, task.getFileCount()); }