@Test @SuppressWarnings("unchecked") public void testCall() { final Consumer<FormGenerationService> consumer = mock(Consumer.class); tested.call(consumer); verify(consumer, times(1)).accept(eq(formGenerationService)); }
public void call(final Consumer<FormGenerationService> service) { service.accept(formGenerationService.call(getRemoteCallback(), getErrorCallback())); }
ClientFormGenerationManager { public void call(final Consumer<FormGenerationService> service) { service.accept(formGenerationService.call(getRemoteCallback(), getErrorCallback())); } }
ClientFormGenerationManager { public void call(final Consumer<FormGenerationService> service) { service.accept(formGenerationService.call(getRemoteCallback(), getErrorCallback())); } protected  ClientFormGenerationManager(); @Inject  ClientFormGenerationManager(final ClientTranslationService translationService,
                                       final FormGenerationNotifier formGenerationNotifier,
                                       final Caller<FormGenerationService> formGenerationService); }
ClientFormGenerationManager { public void call(final Consumer<FormGenerationService> service) { service.accept(formGenerationService.call(getRemoteCallback(), getErrorCallback())); } protected  ClientFormGenerationManager(); @Inject  ClientFormGenerationManager(final ClientTranslationService translationService,
                                       final FormGenerationNotifier formGenerationNotifier,
                                       final Caller<FormGenerationService> formGenerationService); void call(final Consumer<FormGenerationService> service); }
ClientFormGenerationManager { public void call(final Consumer<FormGenerationService> service) { service.accept(formGenerationService.call(getRemoteCallback(), getErrorCallback())); } protected  ClientFormGenerationManager(); @Inject  ClientFormGenerationManager(final ClientTranslationService translationService,
                                       final FormGenerationNotifier formGenerationNotifier,
                                       final Caller<FormGenerationService> formGenerationService); void call(final Consumer<FormGenerationService> service);  }