@Test
public void testRemoveDomainPrefixForService() {

    assertEquals(ZMSUtils.removeDomainPrefixForService("athenz.api", "athenz"), "api");
    assertEquals(ZMSUtils.removeDomainPrefixForService("athenz.dev.api", "athenz.dev"), "api");
    assertEquals(ZMSUtils.removeDomainPrefixForService("athenz.dev.api", "athenz"), "dev.api");
    assertEquals(ZMSUtils.removeDomainPrefixForService("athenz.api", "coretech"), "athenz.api");
}