@Test
public void constructors() throws Exception {

  Configuration conf = new Configuration(false);
  assertEquals(conf.size(), 0);
  byte[] bytes = "<configuration><property><name>a</name><value>A</value></property></configuration>".getBytes();
  InputStream is = new ByteArrayInputStream(bytes);
  conf = new Configuration(false);
  ConfigurationUtils.load(conf, is);
  assertEquals(conf.size(), 1);
  assertEquals(conf.get("a"), "A");
}