use of org.apache.jena.sparql.expr.E_NotExists in project jena by apache.
the class ExprFactoryTest method notexistsTest.
@Test
public void notexistsTest() {
WhereHandler handler = new WhereHandler(new Query());
WhereClause<?> whereClause = mock(WhereClause.class);
when(whereClause.getWhereHandler()).thenReturn(handler);
Expr e = factory.notexists(whereClause);
assertTrue(e instanceof E_NotExists);
}
Aggregations