@Test
public void testExecutePutMembershipDecision() {

    String domainName = "mgradddom1";
    String roleName = "role1";
    TopLevelDomain dom1 = createTopLevelDomainObject(domainName,
            "Test Domain1", "testOrg", adminUser);
    zms.postTopLevelDomain(mockDomRsrcCtx, auditRef, dom1);
    Role role1 = createRoleObject(domainName, roleName, null,
            "user.joe", "user.jane");
    zms.putRole(mockDomRsrcCtx, domainName, roleName, auditRef, role1);
    zms.dbService.executePutMembership(mockDomRsrcCtx, domainName, roleName,
            new RoleMember().setMemberName("user.doe").setApproved(false), auditRef, "putMembership");
    zms.dbService.executePutMembership(mockDomRsrcCtx, domainName, roleName,
            new RoleMember().setMemberName("user.bob").setApproved(false), auditRef, "putMembership");
    zms.dbService.executePutMembershipDecision(mockDomRsrcCtx, domainName, roleName,
            new RoleMember().setMemberName("user.doe").setApproved(true), auditRef, "putMembershipDecision");
    zms.dbService.executePutMembershipDecision(mockDomRsrcCtx, domainName, roleName,
            new RoleMember().setMemberName("user.bob").setApproved(false), auditRef, "putMembershipDecision");
    Role role = zms.getRole(mockDomRsrcCtx, domainName, roleName, false, false, false);
    assertNotNull(role);
    List<RoleMember> members = role.getRoleMembers();
    assertNotNull(members);
    assertEquals(members.size(), 3);
    List<String> checkList = new ArrayList<>();
    checkList.add("user.joe");
    checkList.add("user.jane");
    checkList.add("user.doe");
    checkRoleMember(checkList, members);
    zms.deleteTopLevelDomain(mockDomRsrcCtx, domainName, auditRef);
}