InMemoryExchangeMaster extends SimpleAbstractInMemoryMaster<ExchangeDocument> implements ExchangeMaster { @Override public ExchangeDocument get(final UniqueId uniqueId) { return get(uniqueId, VersionCorrection.LATEST); } InMemoryExchangeMaster();  InMemoryExchangeMaster(final ChangeManager changeManager);  InMemoryExchangeMaster(final Supplier<ObjectId> objectIdSupplier);  InMemoryExchangeMaster(final Supplier<ObjectId> objectIdSupplier, final ChangeManager changeManager); @Override ExchangeSearchResult search(final ExchangeSearchRequest request); @Override ExchangeDocument get(final UniqueId uniqueId); @Override ExchangeDocument get(final ObjectIdentifiable objectId, final VersionCorrection versionCorrection); @Override ExchangeDocument add(final ExchangeDocument document); @Override ExchangeDocument update(final ExchangeDocument document); @Override void remove(final ObjectIdentifiable objectIdentifiable); @Override ExchangeDocument correct(final ExchangeDocument document); @Override ExchangeHistoryResult history(final ExchangeHistoryRequest request); static final String DEFAULT_OID_SCHEME; }
@Test(expectedExceptions = DataNotFoundException.class) public void test_get_noMatch() { master.get(UniqueId.of("A", "B")); }