    @Test
    public void successDataFetcher_showContent() {

        //Given
        presenter = new BooksListPresenter(dataFetcher);
        presenter.attachView(view);
        boolean pullToRefresh = true;

        //When
        presenter.loadBooks(pullToRefresh);

        //Then
        ArgumentCaptor<DataCallback> dataCallbackArg = ArgumentCaptor.forClass(DataCallback.class);
        verify(view).showLoading(pullToRefresh);
        verify(dataFetcher, times(1)).getBooks(dataCallbackArg.capture());

        //When
        dataCallbackArg.getValue().onSuccess(data);

        //Then
        verify(view).showLoading(pullToRefresh);
        ArgumentCaptor<Book[]> booksArgument = ArgumentCaptor.forClass(Book[].class);
        verify(view).setData(booksArgument.capture());
        verify(view).showContent();
        assertArrayEquals(data, booksArgument.getValue());
    }