class AuditWhitelistManager {

    Map<String, String> getRoleWhitelist(RoleResource role)
    {
        Map<IResource, Set<Permission>> whitelist = whitelistDataAccess.getWhitelist(role);
        return whitelist.entrySet()
                        .stream()
                        .collect(Collectors.toMap(e -> ResourceFactory.toPrintableName(e.getKey()), e -> OperationFactory.toOperationNameCsv(e.getValue())));
    }

      AuditWhitelistManager();
    @VisibleForTesting  AuditWhitelistManager(WhitelistDataAccess whitelistDataAccess);

}