}
public void testParseSaveLoadNestedConfig() {
System.setProperty("jconfig.parser","org.jconfig.parser.NestedConfigParser");
try {
XMLFileHandler fileHandler = new XMLFileHandler();
String filename = System.getProperty("java.io.tmpdir")+"test_config.xml";
File file = new File(filename);
fileHandler.setFile(file);
Configuration config = ConfigurationManager.getConfiguration("nested");
fileHandler.store(config);
config = fileHandler.load(file, "MyTest");
String next = config.getProperty("inner",null,"inner/myinner");
assertEquals("value",next);
next = config.getProperty("hello",null,"inner/myinner/moreinner");
assertEquals("universe",next);
next = config.getProperty("text",null,"inner/2");