assertLocation(str, location);
}
private void assertIncludeTemplate(Node node, String templateName, String location, Template template) {
IncludeTemplate includeTemplate = (IncludeTemplate) node;
assertEquals(templateName, includeTemplate.templateName);
assertLocation(includeTemplate.location, location);
String str = includeTemplate.toString();
assertThat(str, startsWith("$#{" + templateName + "}"));
assertLocation(str, location);
assertNotNull(includeTemplate.includedTemplate);