@Test
public void testCombineUserAuthorityFilters() {

    assertNull(ZMSUtils.combineUserAuthorityFilters(null, null));
    assertNull(ZMSUtils.combineUserAuthorityFilters(null, ""));
    assertNull(ZMSUtils.combineUserAuthorityFilters("", null));
    assertNull(ZMSUtils.combineUserAuthorityFilters("", ""));
    assertEquals("role", ZMSUtils.combineUserAuthorityFilters("role", null));
    assertEquals("role", ZMSUtils.combineUserAuthorityFilters("role", ""));
    assertEquals("domain", ZMSUtils.combineUserAuthorityFilters(null, "domain"));
    assertEquals("domain", ZMSUtils.combineUserAuthorityFilters("", "domain"));
    assertEquals("role,domain", ZMSUtils.combineUserAuthorityFilters("role", "domain"));
    assertEquals("same,same", ZMSUtils.combineUserAuthorityFilters("same", "same"));
}