SimpleProject targetProject = new SimpleProject("TargetProject");
IFolder targetFolder = targetProject.createFolder("src");
try {
SharpenConversionBatch converter = new SharpenConversionBatch(getConfiguration());
converter.setSource(new ICompilationUnit[] {cu});
converter.setTargetProject(targetProject.getProject());
converter.run();
assertFile(resource, targetFolder.getFile(path + ".cs"));
} finally {
targetProject.dispose();