def METHOD_NAME(self):
    query = """MATCH (a {v: 1}) WITH (a)-[]->() AS p1, (a)<-[]-() AS p2
               UNWIND p1 AS n1 UNWIND p2 AS n2
               RETURN nodes(n1) AS nodes, nodes(n2) ORDER BY nodes"""
    actual_result = redis_graph.query(query)
    traversal = [[nodes[1], nodes[2]], [nodes[1], nodes[0]]]
    expected_result = [traversal]
    self.env.assertEqual(actual_result.result_set, expected_result)
    plan = redis_graph.execution_plan(query)
    self.env.assertEquals(2, plan.count("Apply"))