use of org.xwiki.notifications.filters.expression.NotEqualsNode in project xwiki-platform by xwiki.
the class ExpressionNodeToHQLConverterTest method parseWithNotEqualsNode.
@Test
public void parseWithNotEqualsNode() {
AbstractNode testAST = new NotEqualsNode(new StringValueNode(TEST_VALUE_1), new StringValueNode(TEST_VALUE_2));
assertEquals(String.format(":%s <> :%s", TEST_VALUE_1_IDENTIFIER, TEST_VALUE_2_IDENTIFIER), parser.parse(testAST).getQuery());
}
Aggregations