class PendingGroupMembershipApprovalNotificationTask implements NotificationTask {

    @Override
    public List<Notification> getNotifications() {
        dbService.processExpiredPendingGroupMembers(pendingGroupMemberLifespan, monitorIdentity);
        Set<String> recipients = dbService.getPendingGroupMembershipApproverRoles(1);
        return Collections.singletonList(notificationCommon.createNotification(
                recipients,
                null,
                pendingMembershipApprovalNotificationToEmailConverter,
                NOTIFICATION_TYPE));
    }

    public  PendingGroupMembershipApprovalNotificationTask(DBService dbService, int pendingGroupMemberLifespan, String monitorIdentity, String userDomainPrefix);

}