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