use of com.inova8.pathql.parser.PathParser in project com.inova8.intelligentgraph by peterjohnlawrence.
the class PathPatternTests method test_20.
/**
* Test 20.
*/
@Test
@Order(20)
void test_20() {
try {
new PathParser();
PathElement element = PathParser.parsePathPattern(repositoryContext, "(*){1, 2}/:massThroughput");
assertEquals("*{1,2} / <http://default/massThroughput>", element.toString());
} catch (Exception e) {
assertEquals("", e.getMessage());
}
}
Aggregations