InMemoryHolidayMaster extends SimpleAbstractInMemoryMaster<HolidayDocument> implements HolidayMaster { @Override public HolidayDocument get(final UniqueId uniqueId) { return get(uniqueId, VersionCorrection.LATEST); } InMemoryHolidayMaster();  InMemoryHolidayMaster(final ChangeManager changeManager);  InMemoryHolidayMaster(final Supplier<ObjectId> objectIdSupplier);  InMemoryHolidayMaster(final Supplier<ObjectId> objectIdSupplier, final ChangeManager changeManager); @Override HolidayMetaDataResult metaData(final HolidayMetaDataRequest request); @Override HolidaySearchResult search(final HolidaySearchRequest request); @Override HolidayDocument get(final UniqueId uniqueId); @Override HolidayDocument get(final ObjectIdentifiable objectId, VersionCorrection versionCorrection); @Override HolidayDocument add(final HolidayDocument document); @Override HolidayDocument update(final HolidayDocument document); @Override void remove(final ObjectIdentifiable objectIdentifiable); @Override HolidayDocument correct(final HolidayDocument document); @Override HolidayHistoryResult history(final HolidayHistoryRequest request); static final String DEFAULT_OID_SCHEME; }
@Test(expectedExceptions = DataNotFoundException.class) public void test_get_noMatch() { master.get(UniqueId.of("A", "B")); }