### Question:
IntegrationHandlerImpl implements IntegrationHandler { @Override public void migrateFromStunnerToJBPMDesigner(Path path, PlaceRequest place, boolean isDirty, ParameterizedCommand<Consumer<Boolean>> saveCommand) { checkIfDirtyAndMigrate(isDirty, saveCommand, () -> fromStunnerToJBPMDesigner(path, place)); } IntegrationHandlerImpl(); @Inject  IntegrationHandlerImpl(final Caller<IntegrationService> integrationService,
                                  final PlaceManager placeManger,
                                  final PopupUtil popupUtil,
                                  final ErrorPopupPresenter errorPopup,
                                  final MarshallingResponsePopup responsePopup,
                                  final ClientTranslationService translationService,
                                  final Event<NotificationEvent> notification); @Override void migrateFromJBPMDesignerToStunner(Path path, PlaceRequest place, boolean isDirty, ParameterizedCommand<Consumer<Boolean>> saveCommand); @Override void migrateFromStunnerToJBPMDesigner(Path path, PlaceRequest place, boolean isDirty, ParameterizedCommand<Consumer<Boolean>> saveCommand);  }### Answer:
@Test public void testMigrateFromStunnerToJBPMDesignerWithUnexpectedError() { prepareServiceCallerError(integrationService, integrationServiceCaller, new Throwable(ERROR)); handler.migrateFromStunnerToJBPMDesigner(stunnerPath, place, false, saveSuccessfulCommand); verifyUserWasAskedForStartingToJBPMMigrationAndRespond(true); String expectedMessage = MigrateActionUnexpectedErrorMessage + "\n" + ERROR; verify(errorPopup).showMessage(expectedMessage); }