use of org.eclipse.persistence.jpa.jpql.parser.UnknownExpression in project eclipselink by eclipse-ee4j.
the class JPQLExpressionTest1_0 method testGetExpression_4.
@Test
public void testGetExpression_4() {
String query = "S";
JPQLExpression jpqlExpression = JPQLQueryBuilder.buildQuery(query, getGrammar(), true);
Expression expression = jpqlExpression.getExpression(query, 1);
assertNotNull(expression);
assertTrue("The expression was " + expression.getClass().getSimpleName(), expression instanceof UnknownExpression);
}
Aggregations