@Test(dataProvider = "roles")
public void testIsMemberOfRole(final String memeberName, final String memberNameToSearch,
        Timestamp expiredTimestamp, boolean setRoleMembers, boolean isMember) {

    //Construct roleMembers
    List<RoleMember> roleMembers = new ArrayList<>();
    RoleMember roleMember = new RoleMember();
    roleMember.setMemberName(memeberName);
    roleMember.setExpiration(expiredTimestamp);
    roleMembers.add(roleMember);
    Role role = new Role();
    if (setRoleMembers) {
        role.setRoleMembers(roleMembers);
    }
    boolean actual = zms.isMemberOfRole(role, memberNameToSearch);
    assertEquals(actual, isMember);
}