public void testTagCalls() throws IOException {
String srcFile = "tests/tagCalls.html";
String src = readFile(srcFile);
JapidTemplate bt = new JapidTemplate("tagCalls.html", src);
JapidAbstractCompiler cp = new JapidTemplateCompiler ();
cp.compile(bt);
String code = bt.javaSource;
assertTrue("invalid java code", JavaSyntaxTool.isValid(bt.javaSource));
System.out.println(code);
assertTrue(code.contains("_tag0.setActionRunners(getActionRunners());"));
assertTrue(code.contains("_tag0.render(a);"));