@Test
public void testProviderServiceDomain() {

    assertEquals(zms.providerServiceDomain("coretech.storage"), "coretech");
    assertEquals(zms.providerServiceDomain("coretech.hosted.storage"), "coretech.hosted");
    assertNull(zms.providerServiceDomain("coretech"));
    assertNull(zms.providerServiceDomain(".coretech"));
    assertNull(zms.providerServiceDomain("coretech."));
}