    @Test
    public void testNoResults() {

        doReturn(Observable.empty()).when(history).readBuckets(Matchers.any(DataReadRequest.class));

        mainPresenter.getFitnessData();

        ArgumentCaptor<List> fitnessSessionDataCaptor = ArgumentCaptor.forClass(List.class);

        verify(mainView, times(1)).onFitnessSessionDataLoaded(fitnessSessionDataCaptor.capture());
        assertTrue(fitnessSessionDataCaptor.getValue().isEmpty());
    }