}
}
ELContextImpl impl = new ELContextImpl(fn);
ExpressionFactoryImpl ef = new ExpressionFactoryImpl();
impl.setVar("user", new Security());
String[] tests = new String[] { "#{hasRole(user, 1, 2, 3)}", "#{hasRole(user, 1)}", "#{hasOneRole(1)}", "#{user.matchRole(1)}", "#{user.matchRole(1,3,4,5)}" };
for (String el : tests) {
parse(el);
ValueExpression ve = ef.createValueExpression(impl, el, Object.class);