1213141516171819
public class IfNodeTests { @Test public void parseSimpleIfWithBlock() throws RecognitionException { HaxeTree tree = parseStatement("if(true){ doSmth(); }"); assertTrue(tree instanceof IfNode); }