@Test
public void testSendRoleMemberReviewRemindersEmptySet() {

    DBService dbsvc = Mockito.mock(DBService.class);
    NotificationService mockNotificationService =  Mockito.mock(NotificationService.class);
    NotificationServiceFactory testfact = () -> mockNotificationService;
    NotificationManager notificationManager = getNotificationManager(dbsvc, testfact);
    // to make sure we're not creating any notifications, we're going
    // to configure our mock to throw an exception
    Mockito.when(mockNotificationService.notify(any())).thenThrow(new IllegalArgumentException());
    RoleMemberReviewNotificationTask roleMemberReviewNotificationTask = new RoleMemberReviewNotificationTask(dbsvc, USER_DOMAIN_PREFIX);
    assertEquals(roleMemberReviewNotificationTask.getNotifications(), new ArrayList<>());
    notificationManager.shutdown();
}