### Question:
FormGenerationNotifier { public void showNotification(final String message) { messageNotifier.accept(message); } protected  FormGenerationNotifier(); @Inject  FormGenerationNotifier(ClientTranslationService translationService);   FormGenerationNotifier(ClientTranslationService translationService, Consumer<String> messageNotifier, Consumer<String> errorNotifier); void showNotification(final String message); void showError(final String message);  }### Answer:
@Test public void testShowNotification() { notifier.showNotification(MESSAGE); verify(messageNotification, times(1)).accept(MESSAGE); verify(errorNotification, times(0)).accept(MESSAGE); }