//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void traverseWithoutGroups(RelationshipTestSupport.StartNode start, boolean detached) throws org.neo4j.internal.kernel.api.exceptions.KernelException private void TraverseWithoutGroups(RelationshipTestSupport.StartNode start, bool detached) { // given using (NodeCursor node = cursors.allocateNodeCursor(), RelationshipTraversalCursor relationship = cursors.allocateRelationshipTraversalCursor()) { // when read.singleNode(start.Id, node); assertTrue("access node", node.Next()); if (detached) { read.relationships(start.Id, node.AllRelationshipsReference(), relationship); } else { node.AllRelationships(relationship); } IDictionary <string, int> counts = count(tx, relationship); // then assertCounts(start.ExpectedCounts(), counts); } }