SimpleServiceIdentityProvider implements ServiceIdentityProvider { public String getHost() { return host; } SimpleServiceIdentityProvider(String domainName, String serviceName,
            PrivateKey privateKey, String keyId);  SimpleServiceIdentityProvider(String domainName, String serviceName,
            PrivateKey privateKey, String keyId, long tokenTimeout);  SimpleServiceIdentityProvider(Authority authority, String domainName,
            String serviceName, PrivateKey privateKey, String keyId, long tokenTimeout); Principal getIdentity(String domainName, String serviceName); String getHost(); void setHost(String host); void setTokenTimeout(long tokenTimeout); Authority getAuthority(); void setAuthority(Authority authority);  }
@Test public void testGetHost() { PrivateKey key = Crypto.loadPrivateKey(servicePrivateKeyStringK1); SimpleServiceIdentityProvider provider = new SimpleServiceIdentityProvider("coretech", "athenz", key, "1"); String name = provider.getHost(); assertNotNull(name); }