@Test
public void fetchAllMovies_OtherHttpError_fetchMoviesTerminatedWithError() {

    //Given
    when(mMovieDbRestService.fetchAllMovies(anyString()))
            .thenReturn(get403ForbiddenError());
    //When
    TestSubscriber<List<Movie>> subscriber = new TestSubscriber<>();
    mMovieRepository.fetchMovies(POPULAR).subscribe(subscriber);
    //Then
    subscriber.awaitTerminalEvent();
    subscriber.assertError(HttpException.class);
    verify(mMovieDbRestService).fetchAllMovies(POPULAR);
}