LocalDate start = DateUtils.previousWeekDay().minusDays(7);
for (String dataSource : dataSources) {
for (String dataProvider : dataProviders) {
for (String datafield : dataFields) {
ManageableHistoricalTimeSeriesInfo series = new ManageableHistoricalTimeSeriesInfo();
series.setDataField(datafield);
series.setDataProvider(dataProvider);
series.setDataSource(dataSource);
series.setObservationTime(observationTime);
series.setExternalIdBundle(ExternalIdBundleWithDates.of(identifiers));
HistoricalTimeSeriesInfoDocument doc = htsMaster.add(new HistoricalTimeSeriesInfoDocument(series));
assertNotNull(doc);
assertNotNull(doc.getUniqueId());
LocalDateDoubleTimeSeries timeSeries = RandomTimeSeriesGenerator.makeRandomTimeSeries(start, 7);