@Test
public void testNormalizeRoleMembersInvalid() {

    ArrayList<RoleMember> roleMembers = new ArrayList<>();
    roleMembers.add(new RoleMember().setMemberName("user.joe"));
    roleMembers.add(new RoleMember().setMemberName("user2"));
    
    Role role = createRoleObject("TestRole", "Role1", null, roleMembers);
    zms.normalizeRoleMembers(role);
    
    List<RoleMember> members = role.getRoleMembers();
    assertNotNull(members);
    assertEquals(members.size(), 2);
    
    List<String> checkList = new ArrayList<>();
    checkList.add("user.joe");
    checkList.add("user2");
    checkRoleMember(checkList, members);
}