@Test
public void testRefreshInstance() {

    InstanceZTSProvider provider = new InstanceZTSProvider();
    provider.initialize("provider", "com.yahoo.athenz.instance.provider.impl.InstanceZTSProvider", null, null);
    try {
        provider.refreshInstance(null);
        fail();
    } catch (ResourceException ex) {
        assertEquals(403, ex.getCode());
    }
    provider.close();
}