* if unable to delete file
*/
protected final void testExtendsFileSet(final File tempFile) throws
IOException {
ProcessorDef baseLinker = create();
ConditionalFileSet fileSet = new ConditionalFileSet();
ProcessorDef extendedLinker = createExtendedProcessorDef(baseLinker);
fileSet.setProject(baseLinker.getProject());
fileSet.setDir(new File(tempFile.getParent()));
fileSet.setIncludes(tempFile.getName());
baseLinker.addFileset(fileSet);
MockFileCollector collector = new MockFileCollector();
extendedLinker.visitFiles(collector);
tempFile.delete();
assertEquals(1, collector.size());