### Question:
DBRepositoryManager implements RepositoryManager { @Override public final RepoPackage getRepoPackage(final Serializable id) { return repoPackageDBManager.getAndLoadLazyFields(id, false); } DBRepositoryManager(final SessionFactory sessionFactory); @Override final Repository<?> getRepository(final String name); final Repository<?> getRepository(final Serializable id); @Override final List<Repository> getRepositoryList(final Class<? extends Repository> clazz); @Override final Repository<?> saveRepository(final Repository<?> repository); @Override final void updateRepository(final Repository<?> repository); @Override final boolean deleteRepository(final Repository<?> repository); @Override final RepoPackage getRepoPackage(final Serializable id); @Override final RepoPackage saveRepoPackage(final RepoPackage repoPackage);  }### Answer:
@Test public final void testGetUnknownRepoPackage() { DBRepositoryManager repoMan = new DBRepositoryManager(sessionFactory); Assert.assertNull(repoMan.getRepoPackage(UUID.randomUUID())); }