@Test
public void testValidateRoleBasedAccessCheckMismatchNames() {

    List<String> roles = new ArrayList<>();
    roles.add("readers");
    assertFalse(zms.validateRoleBasedAccessCheck(roles, null, "domain1", "domain2"));
    roles = new ArrayList<>();
    roles.add("domain1:role.readers");
    roles.add("domain2:role.readers");
    assertFalse(zms.validateRoleBasedAccessCheck(roles, null, "domain1", "domain1"));
}