question: public void testPathExpressionNextMatchNonRecursive ( ) { GraphModel graph = new GraphModel ( ) ; GraphNode [ ] nodes = fillGraphModel ( graph ) ; PathExpression pathExpression = createPathExpression ( false , false , false ) ; Collection < GraphNode > output = pathExpression . nextMatch ( graph , buildSingleSet ( nodes [ 0 ] ) ) ; assertEquals ( 1 , output . size ( ) ) ; assertGraphContainsElement ( output , nodes , 6 ) ; }
target:  Tests non-recursive version of PathExpression.nextMatch(GraphModel, Collection<GraphNode>)