Search in sources :

Example 1 with PropertyExpression

use of org.apache.activemq.artemis.selector.filter.PropertyExpression in project activemq-artemis by apache.

the class SelectorParserTest method assertPropertyExpression.

protected void assertPropertyExpression(String message, Expression expression, String expected) {
    Assert.assertTrue(message + ". Must be PropertyExpression", expression instanceof PropertyExpression);
    PropertyExpression propExp = (PropertyExpression) expression;
    Assert.assertEquals(message + ". Property name", expected, propExp.getName());
}
Also used : PropertyExpression(org.apache.activemq.artemis.selector.filter.PropertyExpression)

Aggregations

PropertyExpression (org.apache.activemq.artemis.selector.filter.PropertyExpression)1