InMemoryRegionMaster extends SimpleAbstractInMemoryMaster<RegionDocument> implements RegionMaster { @Override public RegionDocument get(final UniqueId uniqueId) { return get(uniqueId, VersionCorrection.LATEST); } InMemoryRegionMaster();  InMemoryRegionMaster(final ChangeManager changeManager);  InMemoryRegionMaster(final Supplier<ObjectId> objectIdSupplier);  InMemoryRegionMaster(final Supplier<ObjectId> objectIdSupplier, final ChangeManager changeManager); @Override RegionSearchResult search(final RegionSearchRequest request); @Override RegionDocument get(final UniqueId uniqueId); @Override RegionDocument get(final ObjectIdentifiable objectId, final VersionCorrection versionCorrection); @Override RegionDocument add(final RegionDocument document); @Override RegionDocument update(final RegionDocument document); @Override void remove(final ObjectIdentifiable objectIdentifiable); @Override RegionDocument correct(final RegionDocument document); @Override RegionHistoryResult history(final RegionHistoryRequest request); static final String DEFAULT_OID_SCHEME; }
@Test(expectedExceptions = DataNotFoundException.class) public void test_get_noMatch() { master.get(UniqueId.of("A", "B")); }