FileUploadPopupPresenter implements FileUploadPopup.Presenter { @Override public void show(final String mainTitleText, final String okButtonText, final Command okCommand) { show(Collections.emptyList(), mainTitleText, okButtonText, okCommand); }  @Override void show(final String mainTitleText,
                     final String okButtonText,
                     final Command okCommand); @Override void show(final List<String> acceptedExtension,
                     final String mainTitleText,
                     final String okButtonText,
                     final Command okCommand); @Override void show(List<String> acceptedExtension,
                     String mainTitleText,
                     String uploadWarningText,
                     String okButtonText,
                     Command okCommand); @Override void hide(); @Override String getFileContents(); @Override String getFileName();  }
@Test public void show() { Command okCommand = mock(Command.class); fileUploadPopupPresenter.show(ScenarioSimulationEditorConstants.INSTANCE.selectImportFile(), ScenarioSimulationEditorConstants.INSTANCE.importLabel(), okCommand); verify(fileUploadPopupViewMock, times(1)).show(eq(ScenarioSimulationEditorConstants.INSTANCE.selectImportFile()), eq(ScenarioSimulationEditorConstants.INSTANCE.importLabel()), eq(okCommand)); }