sourceModule.commitWorkingCopy(true, new NullProgressMonitor());
doCodeCompletion(moduleFile, 0, "wc_commitWC_Test/");
sourceModule.getBuffer().setContents("module wc_commitWC_Test2;");
sourceModule.commitWorkingCopy(true, new NullProgressMonitor());
sourceModule.discardWorkingCopy();
doCodeCompletion(moduleFile, 0, "wc_commitWC_Test2/");
// Test setContents of non-working copy - only valid if sourceModule in buildpath it seems
if(sourceModule.exists()) {
sourceModule.getBuffer().setContents("module wc_change3;");