@Test
public void testSerialize() throws ConfigException {
ConfigParser configParser = new ConfigParser();
Config config = ConfigFactory.load("default").resolve();
System.out.println(config.toString());
GreedConfig greedConfig = configParser.parseAndCheck("greed", config.getConfig("greed"), GreedConfig.class);
System.out.println(StringUtil.join(greedConfig.getLanguage().get("java").getTemplateDef().get("source").getTransformers(), ", "));
System.out.println(Arrays.toString(greedConfig.getLanguage().get("java").getTemplateDef().get("source").getDependencies()));
System.out.println(greedConfig.getLanguage().get("java").getTemplateDef().get("testcase").getOverwrite());
System.out.println("done");
}