@Test
public void testGetClassProviderException() {

    SignedDomain signedDomain = createSignedDomainClassEndpoint("coretech", "weather", true, true);
    store.processDomain(signedDomain, false);
    System.setProperty("athenz.instance.test.class.exception", "true");
    InstanceProviderManager provider = new InstanceProviderManager(store, null, null);
    InstanceProvider client = provider.getProvider("coretech.weather", new HostnameResolver(){});
    assertNull(client);
    System.clearProperty("athenz.instance.test.class.exception");
}