constantExpression("Manchester"));
assertPredicate(predicate, exchange, false);
}
public void testTokenizeLines() throws Exception {
Expression expression = regexTokenize(bodyExpression(), "[\r|\n]");
exchange.getIn().setBody("Hello World\nBye World\rSee you again");
ArrayList expected = new ArrayList(Arrays.asList(new String[] {"Hello World", "Bye World", "See you again"}));
assertExpression(expression, exchange, expected);
}