InMemoryHistoricalTimeSeriesMaster extends SimpleAbstractInMemoryMaster<HistoricalTimeSeriesInfoDocument> implements HistoricalTimeSeriesMaster { public ManageableHistoricalTimeSeries getTimeSeries(UniqueId uniqueId) { return getTimeSeries(uniqueId.getObjectId(), VersionCorrection.LATEST); } InMemoryHistoricalTimeSeriesMaster();  InMemoryHistoricalTimeSeriesMaster(final ChangeManager changeManager);  InMemoryHistoricalTimeSeriesMaster(final Supplier<ObjectId> objectIdSupplier);  InMemoryHistoricalTimeSeriesMaster(final Supplier<ObjectId> objectIdSupplier, final ChangeManager changeManager); @Override HistoricalTimeSeriesInfoMetaDataResult metaData(HistoricalTimeSeriesInfoMetaDataRequest request); @Override HistoricalTimeSeriesInfoSearchResult search(HistoricalTimeSeriesInfoSearchRequest request); @Override HistoricalTimeSeriesInfoDocument get(final UniqueId uniqueId); @Override HistoricalTimeSeriesInfoDocument get(final ObjectIdentifiable objectKey, VersionCorrection versionCorrection); @Override HistoricalTimeSeriesInfoDocument add(final HistoricalTimeSeriesInfoDocument document); @Override HistoricalTimeSeriesInfoDocument update(final HistoricalTimeSeriesInfoDocument document); @Override void remove(final ObjectIdentifiable objectIdentifiable); @Override HistoricalTimeSeriesInfoDocument correct(final HistoricalTimeSeriesInfoDocument document); @Override HistoricalTimeSeriesInfoHistoryResult history(HistoricalTimeSeriesInfoHistoryRequest request); ManageableHistoricalTimeSeries getTimeSeries(UniqueId uniqueId); ManageableHistoricalTimeSeries getTimeSeries(UniqueId uniqueId, HistoricalTimeSeriesGetFilter filter); ManageableHistoricalTimeSeries getTimeSeries(ObjectIdentifiable objectId, VersionCorrection versionCorrection); ManageableHistoricalTimeSeries getTimeSeries(ObjectIdentifiable objectKey, VersionCorrection versionCorrection, HistoricalTimeSeriesGetFilter filter); @Override UniqueId updateTimeSeriesDataPoints(ObjectIdentifiable objectKey, LocalDateDoubleTimeSeries series); @Override UniqueId correctTimeSeriesDataPoints(ObjectIdentifiable objectKey, LocalDateDoubleTimeSeries series); @Override UniqueId removeTimeSeriesDataPoints(ObjectIdentifiable objectKey, LocalDate fromDateInclusive, LocalDate toDateInclusive); static final String DEFAULT_OID_SCHEME; }
@Test(expectedExceptions = DataNotFoundException.class) public void test_getTS_UID_otherId() { testEmpty.getTimeSeries(OTHER_UID); }