@Test
public void startPresenterWithPopularSortOrder() {

    when(appSettings.getSortOrder()).thenReturn(new SortOrder(SortOrder.POPULAR));
    MovieListApiResponse popularMovies = MockResponse.getPopularMovies(gson);
    when(api.popular(null))
            .thenReturn(Single.just(popularMovies));
    presenter.start();
    verify(api).popular(null);
    verify(view).showLoading();
}