// 子模板的顺序和模板文件中的一致
assertPlaceholder(placeholder, "for", "Line 3 Column 1", new String[] { "#aaa.d", "#aaa.c", "#aaa.b", "ccc" },
"#aaa.*, ccc");
PlaceholderParameter param;
int i = 0;
param = placeholder.params[i++];
assertTrue(param.isTemplateReference());
assertEquals("aaa.d", param.getTemplateName());
assertEquals("d", param.getTemplateReference().getName());
assertTemplateRef(template.getSubTemplate("aaa").getSubTemplate("d"), param.getTemplateReference());
param = placeholder.params[i++];
assertTrue(param.isTemplateReference());
assertEquals("aaa.c", param.getTemplateName());
assertEquals("c", param.getTemplateReference().getName());
assertTemplateRef(template.getSubTemplate("aaa").getSubTemplate("c"), param.getTemplateReference());
param = placeholder.params[i++];
assertTrue(param.isTemplateReference());
assertEquals("aaa.b", param.getTemplateName());
assertEquals("b", param.getTemplateReference().getName());
assertTemplateRef(template.getSubTemplate("aaa").getSubTemplate("b"), param.getTemplateReference());
param = placeholder.params[i++];
assertFalse(param.isTemplateReference());
assertNull(param.getTemplateName());
assertNull(param.getTemplateReference());
}