@Test
public void testExtractResourceDomainName() {

    assertEquals(AuthzHelper.extractResourceDomainName("domain:entity"), "domain");
    assertEquals(AuthzHelper.extractResourceDomainName("domain:entity:value2"), "domain");
    assertEquals(AuthzHelper.extractResourceDomainName("domain:https://web.athenz.com/data"), "domain");
}