### Question:
FlashMessages { public void hideMessages() { view.hideErrorContainer(); view.hideWarningContainer(); view.hideSuccessContainer(); } @Inject  FlashMessages(final View view); HTMLElement getElement(); void onFlashMessageEvent(final @Observes FlashMessage flashMessage); void hideMessages();  }### Answer:
@Test public void testHideMessages() { flashMessages.hideMessages(); verify(view).hideErrorContainer(); verify(view).hideWarningContainer(); }