public void testSimpleInvoke() throws IOException {
String srcFile = "tests/simpleInvoke.html";
String src = readFile(srcFile);
JapidTemplate bt = new JapidTemplate("simpleInvoke.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("actionRunners.put(getOut().length(), new cn.bran.play.CacheablePlayActionRunner(\"\", MyController.class, \"action\", s + \"2\") {"));
assertTrue(code.contains("MyController.action(s);"));