@Test
public void testGetOverdueReview() {

    TopLevelDomain dom1 = createTopLevelDomainObject("test-domain1",
            "Test Domain1", "testOrg", adminUser);
    zms.postTopLevelDomain(mockDomRsrcCtx, auditRef, dom1);
    long currentTimeMillis = System.currentTimeMillis();
    Timestamp oldTimestamp = Timestamp.fromMillis(currentTimeMillis - 60000);
    Timestamp futureTimestamp = Timestamp.fromMillis(currentTimeMillis + 60000);
    List<RoleMember> roleMembers = new ArrayList<>();
    roleMembers.add(new RoleMember().setMemberName("user.overduereview1").setReviewReminder(oldTimestamp));
    roleMembers.add(new RoleMember().setMemberName("user.overduereview2").setReviewReminder(oldTimestamp));
    roleMembers.add(new RoleMember().setMemberName("user.futurereview1").setReviewReminder(futureTimestamp));
    roleMembers.add(new RoleMember().setMemberName("user.noreview1"));
    Role role1 = createRoleObject("test-domain1", "Role1",
            null, roleMembers);
    zms.putRole(mockDomRsrcCtx, "test-domain1", "Role1", auditRef, role1);
    DomainRoleMembers responseMembers = zms.getOverdueReview(mockDomRsrcCtx, "test-domain1");
    assertEquals("test-domain1", responseMembers.getDomainName());
    List<DomainRoleMember> responseRoleMemberList = responseMembers.getMembers();
    assertEquals(responseRoleMemberList.size(), 2);
    assertEquals(responseRoleMemberList.get(0).getMemberName(), "user.overduereview1");
    assertEquals(responseRoleMemberList.get(1).getMemberName(), "user.overduereview2");
    zms.deleteTopLevelDomain(mockDomRsrcCtx,"test-domain1", auditRef);
}