@Test
public void shouldShowErrorIfInternetNotConnectedWhenRetryButtonClicked(){

    presenter.setView(view);
    presenter.onRetryButtonClicked(false);
    verify(view , times(1)).showNetworkError();
}