@Test public void getFileName() { String fileName = "fileName"; when(fileUploadPopupViewMock.getFileName()).thenReturn(fileName); assertEquals(fileName, fileUploadPopupPresenter.getFileName()); verify(fileUploadPopupViewMock, times(1)).getFileName(); }
@Override public String getFileName() { return fileUploadPopup.getFileName(); }
FileUploadPopupPresenter implements FileUploadPopup.Presenter { @Override public String getFileName() { return fileUploadPopup.getFileName(); } }
FileUploadPopupPresenter implements FileUploadPopup.Presenter { @Override public String getFileName() { return fileUploadPopup.getFileName(); }  }
FileUploadPopupPresenter implements FileUploadPopup.Presenter { @Override public String getFileName() { return fileUploadPopup.getFileName(); }  @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(); }
FileUploadPopupPresenter implements FileUploadPopup.Presenter { @Override public String getFileName() { return fileUploadPopup.getFileName(); }  @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();  }