@Test
public void testLoadMoreError() throws Exception {

  final Throwable exception = new Throwable();
  when(mockedDataProvider.fetch(eq(2))).thenReturn(Single.error(exception));
  tested.onLoadMore();
  verify(mockedView).hideLoadMore();
}