use of org.kie.dmn.feel.lang.ast.ContextNode in project drools by kiegroup.
the class FEELParserTest method testEmptyContext.
@Test
public void testEmptyContext() {
String inputExpression = "{}";
BaseNode context = parse(inputExpression);
assertThat(context, is(instanceOf(ContextNode.class)));
assertThat(context.getText(), is(inputExpression));
ContextNode ctx = (ContextNode) context;
assertThat(ctx.getEntries(), is(empty()));
}
Aggregations