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