*/
public class ConfigurationBeanTests extends TestCase {
public void testVariableResolver() throws Exception {
ConfigurationBean cfg = new ConfigurationBean();
VariableResolver defaultResolver = cfg.getVariableResolver();
assertNotNull(defaultResolver);
VariableResolver userResolver = new DefaultVariableResolver();
cfg.setVariableResolver(userResolver);
assertSame(userResolver, cfg.getVariableResolver());
cfg.setVariableResolver(null);
assertSame(defaultResolver, cfg.getVariableResolver());
}