logger.setSessionFactory(getDbConnector().getHibernateSessionFactory());
Collection<AuditLogEntry> logEntries = logger.findAll();
assertEquals(0, logEntries.size());
logger.log("jake", "/Portfolio/XYZ123", "View", true);
logger.log("jake", "/Portfolio/XYZ345", "Modify", "User has no Modify permission on this portfolio", false);
logger.flushCache();
logger.flushCache();