void () { Expression e = MacroParser.parse("variableOfType(\"A\", \"B\")"); assertTrue(e instanceof MacroCallNode); MacroCallNode n = (MacroCallNode) e; assertTrue(n.getMacro() instanceof VariableOfTypeMacro); Expression[] parameters = n.getParameters(); assertEquals(2, parameters.length); assertTrue(parameters [0] instanceof ConstantNode); assertTrue(parameters [1] instanceof ConstantNode); }