@Test public void nullContextClassLoader() { ClassLoader cl = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(null); Config config = ConfigManager.load(); Assert.assertEquals("foo", config.getString("netflix.iep.env.account-type")); } finally { Thread.currentThread().setContextClassLoader(cl); } }
public static Config load() { return load(pickClassLoader()); }
ConfigManager { public static Config load() { return load(pickClassLoader()); } }
ConfigManager { public static Config load() { return load(pickClassLoader()); }  }
ConfigManager { public static Config load() { return load(pickClassLoader()); }  static Config get(); static DynamicConfigManager dynamicConfigManager(); static Config dynamicConfig(); static Config load(); static Config load(ClassLoader classLoader); }
ConfigManager { public static Config load() { return load(pickClassLoader()); }  static Config get(); static DynamicConfigManager dynamicConfigManager(); static Config dynamicConfig(); static Config load(); static Config load(ClassLoader classLoader);  }