### Question:
DBPortalInfoManager extends DBManager<PortalInfo> implements PortalInfoManager { @Override public final PortalInfo savePortalInfo(final PortalInfo info) throws PortalInfoManagerException { LOGGER.debug("saving Portal Info {}", info); try { return super.save(info); } catch (DBManagerException e) { throw new PortalInfoManagerException(e); } } DBPortalInfoManager(final SessionFactory factory); @Override final PortalInfo savePortalInfo(final PortalInfo info); @Override final void updatePortalInfo(final PortalInfo info); @Override final PortalInfo getPortalInfo(final PortalScheme scheme); @Override final boolean deletePortalInfo(final PortalScheme scheme); @Override final String getPortalUrlBase();  }### Answer:
@Test public final void savePortalInfo() { final PortalScheme scheme = PortalScheme.HTTPS; PortalInfoManager dbpim = new DBPortalInfoManager(sessionFactory); PortalInfo info = new PortalInfo(); info.setSchemeName(scheme); dbpim.savePortalInfo(info); PortalInfo info2 = dbpim.getPortalInfo(scheme); Assert.assertEquals(info2.getSchemeName(), scheme.name()); }