### Question:
ConfigurationUtils { public static Configuration resolve(Configuration conf) { Configuration resolved = new Configuration(false); for (Map.Entry<String, String> entry : conf) { resolved.set(entry.getKey(), conf.get(entry.getKey())); } return resolved; }  static void copy(Configuration source, Configuration target); static void injectDefaults(Configuration source, Configuration target); static Configuration resolve(Configuration conf); static void load(Configuration conf, InputStream is);  }### Answer:
@Test public void resolve() { Configuration conf = new Configuration(false); conf.set("a", "A"); conf.set("b", "${a}"); assertEquals(conf.getRaw("a"), "A"); assertEquals(conf.getRaw("b"), "${a}"); conf = ConfigurationUtils.resolve(conf); assertEquals(conf.getRaw("a"), "A"); assertEquals(conf.getRaw("b"), "A"); }