### Question:
GeocoderWidgetPresenterImpl implements GeocoderWidgetPresenter, GeocoderWidgetAlternativesPresenter,
		SelectLocationHandler, SelectAlternativeHandler, LocationNotFoundHandler { @Override public void onSelectAlternative(SelectAlternativeEvent event) { alternativesView.setAlternatives(event.getAlternatives()); showAlternativesView(true); } GeocoderWidgetPresenterImpl(MapPresenter mapPresenter, GeocoderWidgetView geocoderWidgetView,
									   GeocoderWidgetAlternativesView alternativesView); String getServicePattern(); void setServicePattern(String servicePattern); @Override void findLocation(final String location); @Override void goToLocation(final GetLocationForStringResponse response, final String location); @Override void onSelectLocation(SelectLocationEvent event); @Override void onSelectAlternative(SelectAlternativeEvent event); @Override void onLocationNotFound(LocationNotFoundEvent event); HandlerRegistration setSelectAlternativeHandler(SelectAlternativeHandler handler); HandlerRegistration setSelectLocationHandler(SelectLocationHandler handler); HandlerRegistration setLocationNotFoundHandler(LocationNotFoundHandler handler); @Override void onAlternativesViewClosed(); Bbox getAlternativesViewShowBbox(); @Override void fireGeocoderEvent(GeocoderEvent event); void clearLocation();  }### Answer:
@Test public void presentationAsSelectAlternativeHandlerTest(){ stub(alternativeListMock.size()).toReturn(2); SelectAlternativeEvent event = new SelectAlternativeEvent(mapPresenterMock, alternativeListMock); ((SelectAlternativeHandler) presenter).onSelectAlternative(event); verifyPresentationAsSelectAlternativeHandlerExecuted(); }