// Build a mock sheet reader with some rows
LocalDate[] dates = {LocalDate.of(2010,1,1), LocalDate.of(2011,1,1)};
double[] times = {1.0, 2.0};
LocalDateDoubleTimeSeries lddts = ImmutableLocalDateDoubleTimeSeries.of(dates, times);
SheetReader mockSheetReader = buildMockSheetReader(lddts);
TimeSeriesReader reader = new SingleSheetMultiTimeSeriesReader(
mockSheetReader, DATA_SOURCE, DATA_PROVIDER, DATA_FIELD, OBSERVATION_TIME, ID_SCHEME, DATE_FORMAT);
// Write
TimeSeriesWriter mockTimeSeriesWriter = mock(TimeSeriesWriter.class);