//-------------------------------------------------------------------------
public void test() throws Exception {
List<ExternalIdBundleWithDates> identifiers = HistoricalTimeSeriesMasterPopulator.populateAndTestMaster(_htsMaster, TS_DATASET_SIZE, DATA_SOURCES, DATA_PROVIDERS, DATA_FIELDS, LCLOSE_OBSERVATION_TIME);
for (ExternalIdBundleWithDates identifierBundleWithDates : identifiers) {
HistoricalTimeSeriesResolutionResult resolutionResult = _infoResolver.resolve(identifierBundleWithDates.toBundle(), null, null, null, "PX_LAST", CONFIG_DOC_NAME);
assertNotNull(resolutionResult);
HistoricalTimeSeriesInfoDocument doc = _htsMaster.get(resolutionResult.getHistoricalTimeSeriesInfo().getUniqueId());
assertEquals(DEFAULT_DATA_SOURCE, doc.getInfo().getDataSource());
assertEquals(DEFAULT_DATA_PROVIDER, doc.getInfo().getDataProvider());
assertEquals("PX_LAST", doc.getInfo().getDataField());
}
}