@Test
public void whenRequestAlbumsCalledShouldPerformCorrectly() {

    //given
    List<AlbumDto> testDtoList = Collections.singletonList(new AlbumDto("testImageUrl", "testLabel"));
    ArgumentCaptor<ITopAlbumsService.Callback> callbackArgumentCaptor = ArgumentCaptor.forClass(ITopAlbumsService.Callback.class);
    //when
    presenter.requestAlbumsClicked();
    //then
    Mockito.verify(view).showProgressDialog();
    Mockito.verify(topAlbumsService).requestAlbums(callbackArgumentCaptor.capture());
    callbackArgumentCaptor.getValue().success(testDtoList);
    Mockito.verify(view).hideProgressDialog();
    Mockito.verify(view).displayAlbums(testDtoList);
}