@Test
public void testLookupServiceIdentity() {

    List<ServiceIdentity> services = new ArrayList<>();
    
    ServiceIdentity service = new ServiceIdentity();
    service.setName(generateServiceIdentityName("coretech", "storage"));
    setServicePublicKey(service, "0", ZTS_Y64_CERT0);
    services.add(service);

    service = new ServiceIdentity();
    service.setName(generateServiceIdentityName("coretech", "backup"));
    setServicePublicKey(service, "0", ZTS_Y64_CERT0);
    services.add(service);
    
    DomainData domain = new DomainData();
    domain.setName("coretech");
    domain.setServices(services);
    
    com.yahoo.athenz.zts.ServiceIdentity svc = zts.lookupServiceIdentity(domain, "coretech.storage");
    assertNotNull(svc);
}