public void test5_1_1()
{
// This test shows how to do partial queries. When the Query from toQuery() is passed into a new CypherQuery
// it is cloned, so any modifications do not affect the original query
Query query = start( lookup( "n", "node_auto_index", "name", "User1" ) ).
match( node( "n" ).out( "hasRoleInGroup" ).node( "hyperEdge" ).out( "hasGroup" ).node( "group" ),
node( "hyperEdge" ).out( "hasRole" ).node( "role" ) ).toQuery();
assertQueryEquals( CYPHER + "START n=node:node_auto_index(name=\"User1\") MATCH (n)-[:hasRoleInGroup]->" +
"(hyperEdge)-[:hasGroup]->(group),(hyperEdge)-[:hasRole]->(role) WHERE group.name=\"Group2\" RETURN " +