new BaseHierarchicalConfiguration();
ConfigurationBuilder<BaseHierarchicalConfiguration> builder =
createBuilderMock(conf);
EasyMock.replay(builder);
conf.addProperty("test1", "value1");
conf.addProperty("test2", "42");
BuilderConfigurationWrapperFactory factory =
new BuilderConfigurationWrapperFactory();
HierarchicalConfiguration<?> wrapper =
factory.createBuilderConfigurationWrapper(
HierarchicalConfiguration.class, builder);