pvs.addPropertyValue("properties", props);
ac.registerSingleton("configurer", PreferencesPlaceholderConfigurer.class, pvs);
Preferences.systemRoot().put("myName", "myNameValue");
Preferences.systemRoot().put("myTouchy", "myTouchyValue");
Preferences.userRoot().put("myTouchy", "myOtherTouchyValue");
ac.refresh();
TestBean tb = (TestBean) ac.getBean("tb");
assertEquals("myNameValue", tb.getName());
assertEquals(99, tb.getAge());
assertEquals("myOtherTouchyValue", tb.getTouchy());
Preferences.userRoot().remove("myTouchy");