}
@Test
@Ignore
public void test() throws Exception {
MyConfig config = new DynamicProxyArchaeusConfigurationFactory().get(MyConfig.class);
System.out.println("----- BEFORE -----");
printContents(config);
ConfigurationManager.getConfigInstance().setProperty("test.property.dynamic.string", "NewA");
ConfigurationManager.getConfigInstance().setProperty("test.property.dynamic.int", "321");
ConfigurationManager.getConfigInstance().setProperty("test.property.dynamic.boolean", "false");
ConfigurationManager.getConfigInstance().setProperty("test.property.dynamic.long", "654");
ConfigurationManager.getConfigInstance().setProperty("test.property.dynamic.double", "2.1");
ConfigurationManager.getConfigInstance().setProperty("test.property.static.string", "NewA");
ConfigurationManager.getConfigInstance().setProperty("test.property.static.int", "321");
ConfigurationManager.getConfigInstance().setProperty("test.property.static.boolean", "false");
ConfigurationManager.getConfigInstance().setProperty("test.property.static.long", "654");
ConfigurationManager.getConfigInstance().setProperty("test.property.static.double", "2.1");
System.out.println("----- AFTER -----");
printContents(config);
// Supplier<String> supplier = config.getDynamicStringSupplier();
// System.out.println("Supplier value : " + supplier.get());
int count = 1000000;
MyConfig configDynamicProxy = new DynamicProxyArchaeusConfigurationFactory().get(MyConfig.class);
MyConfig configJavaAssixt = new JavaAssistArchaeusConfigurationFactory().get(MyConfig.class);
MyConfig configCglib = new CglibArchaeusConfigurationFactory().get(MyConfig.class);
for (int i = 0; i < 10; i++) {
System.out.println("==== Run " + i + " ====");