pvs.addPropertyValue("name", "${ref}");
ac.registerSingleton("tb", TestBean.class, pvs);
pvs = new MutablePropertyValues();
pvs.addPropertyValue("ignoreUnresolvablePlaceholders", Boolean.TRUE);
ac.registerSingleton("configurer", PropertyPlaceholderConfigurer.class, pvs);
ac.refresh();
TestBean tb = (TestBean) ac.getBean("tb");
assertEquals("${ref}", tb.getName());
}
public void testPropertyPlaceholderConfigurerWithEmptyStringAsNull() {