public void testPropertyVerfierShoudldNotLoopIndefinately() {
    String expr = "\t\tmodel.latestHeadlines = $list;\n"
        + "model.latestHeadlines.add( 0, (model.latestHeadlines[2]) );";

    ParserContext pCtx = new ParserContext();
    pCtx.addInput("$list",
        List.class);
    pCtx.addInput("model",
        Model.class);

    ExpressionCompiler compiler = new ExpressionCompiler(expr, pCtx);
    compiler.setVerifying(true);
    compiler.compile();
  }