### Question:
GeocoderWidgetPresenterImpl implements GeocoderWidgetPresenter, GeocoderWidgetAlternativesPresenter,
		SelectLocationHandler, SelectAlternativeHandler, LocationNotFoundHandler { @Override public void onLocationNotFound(LocationNotFoundEvent event) { if (geocoderWidgetView instanceof GeocoderWidgetViewImpl) { ((GeocoderWidgetViewImpl) geocoderWidgetView).showLocationNotFoundMessage(event.getLocation()); } } 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 presentationAsLocationNotFoundHandlerTest(){ presenter = new GeocoderWidgetPresenterImpl(mapPresenterMock, geocoderWidgetViewImplMock, alternativesViewMock); LocationNotFoundEvent event = new LocationNotFoundEvent(location); ((LocationNotFoundHandler) presenter).onLocationNotFound(event); verifyPresentationImplAsLocationNotFoundHandlerExecuted(); }