### Question:
AnalysisImportDialogController extends AbstractXulDialogController<AnalysisImportDialogModel> implements
  IImportPerspective, IOverwritableController { protected String datasourceParam( String datasourceName ) { return "Datasource=\"" + datasourceName + "\""; }  void init(); @Bindable void setRelationalConnections( List<IDatabaseConnection> connections ); static String getBaseURL(); @Bindable void setAnalysisFile(); @Bindable void setSelectedFile( String name ); XulDialog getDialog(); AnalysisImportDialogModel getDialogResult(); void removeHiddenPanels(); boolean isValid(); void handleFormPanelEvent( SubmitCompleteEvent event ); String convertToNLSMessage( String results, String fileName ); void buildAndSetParameters(); void buildAndSetParameters( boolean isEditMode ); void concreteUploadCallback( String fileName, String uploadedFile ); void genericUploadCallback( String uploadedFile ); @Bindable void setPreference( Integer preference ); @Bindable void removeParameter(); @Bindable void addParameter(); @Bindable void closeParametersDialog(); @Bindable void editParameter(); @Bindable void overwriteFileDialog( int code ); @Bindable void openParametersDialog(); void showDialog(); void setBindingFactory( final BindingFactory bf ); String getName(); void setDatasourceMessages( DatasourceMessages datasourceMessages ); FormPanel getFormPanel(); String getFileName(); void setOverwrite( boolean overwrite ); void editDatasource( final IDatasourceInfo datasourceInfo ); static final String ATTRIBUTE_STANDARD_CONNECTION; }### Answer:
@Test public void testDatasourceParamGetsQuoted() throws Exception { AnalysisImportDialogController controller = new AnalysisImportDialogController(); assertEquals( "Datasource=\"semi;name\"", controller.datasourceParam( "semi;name" ) ); }