{
PropertiesConfiguration child = new PropertiesConfiguration();
child.setListDelimiterHandler(new DefaultListDelimiterHandler(','));
child.addProperty("test(a)", "1,2,3");
config.addConfiguration(child);
DefaultExpressionEngine engineQuery =
new DefaultExpressionEngine(
new DefaultExpressionEngineSymbols.Builder(
DefaultExpressionEngineSymbols.DEFAULT_SYMBOLS)
.setIndexStart("<").setIndexEnd(">").create());
config.setExpressionEngine(engineQuery);
DefaultExpressionEngine engineConvert =
new DefaultExpressionEngine(
new DefaultExpressionEngineSymbols.Builder(
DefaultExpressionEngineSymbols.DEFAULT_SYMBOLS)
.setIndexStart("[").setIndexEnd("]").create());
config.setConversionExpressionEngine(engineConvert);
assertEquals("Wrong property 1", "1", config.getString("test(a)<0>"));