@Test
public void testRefreshError() throws Exception {

  final Throwable exception = new Throwable();
  when(mockedDataProvider.fetchNewest()).thenReturn(Single.error(exception));
  tested.onRefresh();
  verify(mockedView).hideRefreshing();
}