}
protected void assertOpenToken(TemplateToken token, String id, String componentType,
String tag, int line)
{
OpenToken t = (OpenToken) token;
assertEquals("Open token type", TokenType.OPEN, t.getType());
assertEquals("Open token id", id, t.getId());
assertEquals("Open token component type", componentType, t.getComponentType());
assertEquals("Open token tag", tag, t.getTag());
checkLine(token, line);
}