@Test
public void testGetPublicKey() {

    
    SignedDomain signedDomain = createSignedDomain("coretech", "weather", "storage", true);
    store.processDomain(signedDomain, false);
    
    String pubKey = zts.getPublicKey("coretech", "storage", "0");
    assertEquals(pubKey, ZTS_PEM_CERT0);
    
    pubKey = zts.getPublicKey("coretech", "storage", "100");
    assertNull(pubKey);
}