  @Test
  public void testResourceConfig() {

    ClouderaManagerClientBuilder builder = new ClouderaManagerClientBuilder();
    ApiRootResource a = newProxy(builder);
    assertNotNull(a);
    ApiRootResource b = newProxy(builder);
    assertNotNull(b);

    ClouderaManagerClientBuilder.clearCachedResources();
    // test after clear
    assertNotNull(newProxy(builder));
  }