public void testConversionExpressionEngine()
{
PropertiesConfiguration child = new PropertiesConfiguration();
child.addProperty("test(a)", "1,2,3");
config.addConfiguration(child);
DefaultExpressionEngine engineQuery = new DefaultExpressionEngine();
engineQuery.setIndexStart("<");
engineQuery.setIndexEnd(">");
config.setExpressionEngine(engineQuery);
DefaultExpressionEngine engineConvert = new DefaultExpressionEngine();
engineConvert.setIndexStart("[");
engineConvert.setIndexEnd("]");
config.setConversionExpressionEngine(engineConvert);
assertEquals("Wrong property 1", "1", config.getString("test(a)<0>"));
assertEquals("Wrong property 2", "2", config.getString("test(a)<1>"));
assertEquals("Wrong property 3", "3", config.getString("test(a)<2>"));
}