IfCondNode in1icn1 = (IfCondNode) in1.getChild(1);
assertEquals("$foo.goo > 2", in1icn1.getExprText());
assertTrue(in1icn1.getExprUnion().getExpr().getChild(0) instanceof GreaterThanOpNode);
assertEquals("", ((IfElseNode) in1.getChild(2)).getCommandText());
assertEquals("{if $boo}Blah{elseif $foo.goo > 2}{$moo}{else}Blah {$moo}{/if}",
in1.toSourceString());
}
public void testParseSwitchStmt() throws Exception {