### Question:
PopupHelper implements HasBusyIndicator { public void showErrorPopup(final String message) { errorPopup.showError(message, STANDARD); } @Inject  PopupHelper(final ErrorPopup errorPopup); void showInformationPopup(final String message); void showErrorPopup(final String message); void showErrorPopup(final String message,
                               final String detail); void showYesNoPopup(final String title,
                               final String message,
                               final Command yesCommand,
                               final Command noCommand); @Override void showBusyIndicator(final String message); @Override void hideBusyIndicator(); ErrorCallback<Message> getPopupErrorCallback();  }### Answer:
@Test public void testShowErrorPopup() { popupHelper.showErrorPopup(MESSAGE); errorPopup.showError(MESSAGE); }
@Test public void testShowErrorPopupWithDetail() { popupHelper.showErrorPopup(MESSAGE, DETAIL); errorPopup.showError(MESSAGE, DETAIL); }