assertTrue(target.mkdir());
final File source = FileUtils.toFile(this.getClass().getResource(
"/" + file));
final VFS vfs = new VFS();
try {
vfs.mount(vfs.find("/"), new JavaFile(source));
final ResourceResolver resolver = new VFSResourceResolver(vfs);
final Manifest manifest = getManifest(source);
new Pipeline(processorFactory).execute(Version.getCurrentVersion(),
vfs, resolver, manifest, target);
callback.test(vfs, manifest);