if(error)returnmodalDialogCustom.alert('Failed to create file. '+newFile+' '+error)
if(!fileProvider.set(newFile,this.generateTestContractSample(hasCurrent,fileName)))returnmodalDialogCustom.alert('Failed to create test file '+newFile)
this.fileManager.open(newFile)
this.fileManager.syncEditor(newFile)
if(!awaitfileProvider.set(newFile,this.generateTestContractSample(hasCurrent,fileName)))returnmodalDialogCustom.alert('Failed to create test file '+newFile)