@Test
public void testGetRole() {

    TopLevelDomain dom1 = createTopLevelDomainObject("GetRoleDom1",
            "Test Domain1", "testOrg", adminUser);
    zms.postTopLevelDomain(mockDomRsrcCtx, auditRef, dom1);
    Role role1 = createRoleObject("GetRoleDom1", "Role1", null,
            "user.joe", "user.jane");
    zms.putRole(mockDomRsrcCtx, "GetRoleDom1", "Role1", auditRef, role1);
    Role role = zms.getRole(mockDomRsrcCtx, "GetRoleDom1", "Role1", false, false, false);
    assertNotNull(role);
    assertEquals(role.getName(), "GetRoleDom1:role.Role1".toLowerCase());
    assertNull(role.getTrust());
    List<RoleMember> members = role.getRoleMembers();
    assertNotNull(members);
    assertEquals(members.size(), 2);
    List<String> checkList = new ArrayList<>();
    checkList.add("user.joe");
    checkList.add("user.jane");
    checkRoleMember(checkList, members);
    
    zms.deleteTopLevelDomain(mockDomRsrcCtx, "GetRoleDom1", auditRef);
}