    @Test
    public void shouldBindListenerToView() throws Exception {

        Exception exception = new Exception();
        when(movieDetailsUseCase.getMovieDetails()).thenReturn(null);
        ArgumentCaptor<MovieDetailsUseCase.Listener> listenerCapture = ArgumentCaptor.forClass(MovieDetailsUseCase.Listener.class);
        presenter.startPresenting(view, ANY_MOVIE_ID);

        verify(movieDetailsUseCase).setListener(listenerCapture.capture());

        MovieDetailsUseCase.Listener listener = listenerCapture.getValue();
        listener.onMovieDetails(ANY_MOVIE_DETAILS);
        verify(view).display(ANY_MOVIE_DETAILS);
        listener.onError(exception);
        verify(view).showError();
    }