    @Test
    public void successfulRunForNoData() throws Exception {

        BaselineExperimentDataPoint[] nullArray = {null};
        mockExperimentDataPointStreamFactory(experimentDataPointStreamFactory, experiment, nullArray);

        Map<String, Map<BioentityPropertyName, Set<String>>> bioentityIdToIdentifierSearch = new HashMap<>();
        int batchSize = Integer.parseInt(DEFAULT_SOLR_BATCH_SIZE);

        int response = subject.index(experiment, bioentityIdToIdentifierSearch, batchSize);

        Mockito.verify(solrClient, times(0)).add(anyCollection());

        assertThat(response, is(0));
    }