@Test public void setEncodingShouldBeExecuted() { view.submitForm = mock(FormPanel.class); view.setEncoding(FormPanel.ENCODING_MULTIPART); verify(view.submitForm).setEncoding(eq(FormPanel.ENCODING_MULTIPART)); }
@Override public void setEncoding(@Nonnull String encodingType) { submitForm.setEncoding(encodingType); }
UploadFileViewImpl extends Window implements UploadFileView { @Override public void setEncoding(@Nonnull String encodingType) { submitForm.setEncoding(encodingType); } }
UploadFileViewImpl extends Window implements UploadFileView { @Override public void setEncoding(@Nonnull String encodingType) { submitForm.setEncoding(encodingType); } @Inject  UploadFileViewImpl(UploadFileViewBinder uploadFileViewBinder, CoreLocalizationConstant locale); }
UploadFileViewImpl extends Window implements UploadFileView { @Override public void setEncoding(@Nonnull String encodingType) { submitForm.setEncoding(encodingType); } @Inject  UploadFileViewImpl(UploadFileViewBinder uploadFileViewBinder, CoreLocalizationConstant locale); @Override void showDialog(); @Override void closeDialog(); @Override void setDelegate(ActionDelegate delegate); @Override void setEnabledUploadButton(boolean enabled); @Override void setEncoding(@Nonnull String encodingType); @Override void setAction(@Nonnull String url); @Override void submit(); @Override @Nonnull String getFileName(); @Override boolean isOverwriteFileSelected(); }
UploadFileViewImpl extends Window implements UploadFileView { @Override public void setEncoding(@Nonnull String encodingType) { submitForm.setEncoding(encodingType); } @Inject  UploadFileViewImpl(UploadFileViewBinder uploadFileViewBinder, CoreLocalizationConstant locale); @Override void showDialog(); @Override void closeDialog(); @Override void setDelegate(ActionDelegate delegate); @Override void setEnabledUploadButton(boolean enabled); @Override void setEncoding(@Nonnull String encodingType); @Override void setAction(@Nonnull String url); @Override void submit(); @Override @Nonnull String getFileName(); @Override boolean isOverwriteFileSelected();  }