### Question:
DbImaBlacklistBaselineRecordManager extends DBManager<ImaBlacklistRecord> implements ImaBlacklistBaselineRecordManager { @Override public ImaBlacklistRecord getRecord(final long id) throws ImaBaselineRecordManagerException { LOGGER.debug("getting baseline: {}", id); try { return super.get(id); } catch (DBManagerException e) { throw new ImaBaselineRecordManagerException(e); } } DbImaBlacklistBaselineRecordManager(final SessionFactory factory); @Override ImaBlacklistRecord saveRecord(final ImaBlacklistRecord record); @Override ImaBlacklistRecord getRecord(final long id); @Override ImaBlacklistRecord getRecord(final String path, final Digest hash,
            final ImaBlacklistBaseline baseline); @Override boolean deleteRecord(final Long id); @Override boolean deleteRecord(final ImaBlacklistRecord record); final Collection<T> iterateOverBaselineRecords(
            final QueryableRecordImaBaseline baseline,
            final Callback<ImaBlacklistRecord, T> callback);  }### Answer:
@Test public void testGetUnknown() throws ImaBaselineRecordManagerException { LOGGER.debug("testGetUnknown test started"); final ImaBlacklistBaselineRecordManager mgr = new DbImaBlacklistBaselineRecordManager(sessionFactory); Assert.assertNull(mgr.getRecord(PATH, createDigest(HASH), baseline)); }
@Test public void testGetNull() throws ImaBaselineRecordManagerException { LOGGER.debug("testGetNull test started"); final ImaBlacklistBaselineRecordManager mgr = new DbImaBlacklistBaselineRecordManager(sessionFactory); Assert.assertNull(mgr.getRecord(null, null, null)); }