// @Test(dataProvider = EXPRS_AND_OBJECTS)
public final void repeatNumberOfTimesWithVars(String expression, Object page, int should, final String exp) throws ExpressionCompileException {
OptimizerFactory.setDefaultOptimizer(OptimizerFactory.SAFE_REFLECTIVE);
final int[] times = new int[1];
final Evaluator evaluator = new DynTypedMvelEvaluatorCompiler(null).compile(exp);
final WidgetChain mockChain = new ProceedingWidgetChain() {
@Override
public void render(final Object bound, Respond respond) {
times[0]++;