@Test
public void testGetPendingMembershipNotificationsEdge() {

    Set<String> recipients = new HashSet<>();
    recipients.add("user.joe");
    recipients.add("unix.moe");
    Mockito.when(mockObjStore.getConnection(true, true)).thenReturn(mockJdbcConn);
    Mockito.when(mockJdbcConn.updatePendingRoleMembersNotificationTimestamp(anyString(), anyLong(), anyInt())).thenReturn(true);
    Mockito.when(mockJdbcConn.getPendingMembershipApproverRoles(anyString(), anyLong())).thenReturn(recipients);
    ObjectStore saveStore = zms.dbService.store;
    zms.dbService.store = mockObjStore;
    Set<String> recipientsRes = zms.dbService.getPendingMembershipApproverRoles(0);
    assertNotNull(recipientsRes);
    assertTrue(recipientsRes.contains("user.joe"));
    zms.dbService.store = saveStore;
}