@Test
public void testMatchRoleFullName() {

    Role role = new Role().setName("domain:role.role1");
    ArrayList<Role> roles = new ArrayList<>();
    roles.add(role);
    ArrayList<String> authRoles = new ArrayList<>();
    authRoles.add("domain:role.role1");
    assertTrue(zms.matchRole("domain", roles, "domain:role\\.role.*", authRoles));
}