InMemoryConventionMaster extends SimpleAbstractInMemoryMaster<ConventionDocument> implements ConventionMaster { @Override public ConventionDocument get(final UniqueId uniqueId) { return get(uniqueId, VersionCorrection.LATEST); } InMemoryConventionMaster();  InMemoryConventionMaster(final ChangeManager changeManager);  InMemoryConventionMaster(final Supplier<ObjectId> objectIdSupplier);  InMemoryConventionMaster(final Supplier<ObjectId> objectIdSupplier, final ChangeManager changeManager); @Override ConventionMetaDataResult metaData(final ConventionMetaDataRequest request); @Override ConventionSearchResult search(final ConventionSearchRequest request); @Override ConventionDocument get(final UniqueId uniqueId); @Override ConventionDocument get(final ObjectIdentifiable objectId, final VersionCorrection versionCorrection); @Override ConventionDocument add(final ConventionDocument document); @Override ConventionDocument update(final ConventionDocument document); @Override void remove(final ObjectIdentifiable objectIdentifiable); @Override ConventionDocument correct(final ConventionDocument document); @Override ConventionHistoryResult history(final ConventionHistoryRequest request); static final String DEFAULT_OID_SCHEME; }
@Test(expectedExceptions = DataNotFoundException.class) public void test_get_noMatch() { master.get(UniqueId.of("A", "B")); }