@Test
public void testTagBlock() throws IOException {
String srcFile = "JapidSample/app/japidviews/templates/tagBody.html";
String src = readFile(srcFile);
JapidTemplate bt = new JapidTemplate("japidviews/templates/tagBody.html", src);
JapidAbstractCompiler cp = new JapidTemplateCompiler ();
cp.compile(bt);
System.out.println(bt.javaSource);
assertTrue("invalid java code", JavaSyntaxTool.isValid(bt.javaSource));
assertTrue(bt.javaSource.contains("_fooTag0.render(\"hi\", new fooTag.DoBody(){"));