InMemorySecurityMaster extends SimpleAbstractInMemoryMaster<SecurityDocument> implements SecurityMaster { @Override public SecurityDocument get(final UniqueId uniqueId) { return get(uniqueId, VersionCorrection.LATEST); } InMemorySecurityMaster();  InMemorySecurityMaster(final ChangeManager changeManager);  InMemorySecurityMaster(final Supplier<ObjectId> objectIdSupplier);  InMemorySecurityMaster(final Supplier<ObjectId> objectIdSupplier, final ChangeManager changeManager); @Override SecurityMetaDataResult metaData(final SecurityMetaDataRequest request); @Override SecuritySearchResult search(final SecuritySearchRequest request); @Override SecurityDocument get(final UniqueId uniqueId); @Override SecurityDocument get(final ObjectIdentifiable objectId, final VersionCorrection versionCorrection); @Override SecurityDocument add(final SecurityDocument document); @Override SecurityDocument update(final SecurityDocument document); @Override void remove(final ObjectIdentifiable objectIdentifiable); @Override SecurityDocument correct(final SecurityDocument document); @Override SecurityHistoryResult history(final SecurityHistoryRequest request); static final String DEFAULT_OID_SCHEME; }
@Test(expectedExceptions = DataNotFoundException.class) public void test_get_emptyMaster() { assertNull(testEmpty.get(OTHER_UID)); }