PeliasCallbackHandler { void handleFailure(OnPlaceDetailsFetchedListener listener) { listener.onFetchFailure(); } PeliasCallbackHandler();   }
@Test public void handleFailure_shouldCallListenerFetchFailure() { TestDetailsListener listener = new TestDetailsListener(); Place place = new PlaceImpl.Builder().build(); listener.place = place; callbackHandler.handleFailure(listener); assertThat(listener.place).isNull(); }