@Test public void setEnabledUploadButtonShouldBeExecuted() { view.btnUpload = mock(Button.class); view.setEnabledUploadButton(true); verify(view.btnUpload).setEnabled(eq(true)); }
@Override public void setEnabledUploadButton(boolean enabled) { btnUpload.setEnabled(enabled); }
UploadFileViewImpl extends Window implements UploadFileView { @Override public void setEnabledUploadButton(boolean enabled) { btnUpload.setEnabled(enabled); } }
UploadFileViewImpl extends Window implements UploadFileView { @Override public void setEnabledUploadButton(boolean enabled) { btnUpload.setEnabled(enabled); } @Inject  UploadFileViewImpl(UploadFileViewBinder uploadFileViewBinder, CoreLocalizationConstant locale); }
UploadFileViewImpl extends Window implements UploadFileView { @Override public void setEnabledUploadButton(boolean enabled) { btnUpload.setEnabled(enabled); } @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 setEnabledUploadButton(boolean enabled) { btnUpload.setEnabled(enabled); } @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();  }