private void runEvaluation(Message event, String expr, String expect) throws Exception
{
AbstractTCLNode _root = TCLParser.parse(expr);
AbstractTCLNode _expect = TCLParser.parse(expect);
FilterConstraint _evaluator = new ETCLFilterConstraint(_root);
EvaluationResult _res;
_root.acceptPostOrder(new TCLCleanUp());
EvaluationContext _context = new EvaluationContext(getEvaluator());
_res = _evaluator.evaluate(_context, event);
assertEquals("expected " + _root.toStringTree() + " == " + _expect.toStringTree(), _expect
.evaluate(null), _res);
}