def METHOD_NAME(self):
    query = """WITH NULL AS a MATCH (a) RETURN a"""
    actual_result = redis_graph.query(query)
    # Expect one NULL entity to be returned.
    expected_result = [[None]]
    self.env.assertEquals(actual_result.result_set, expected_result)
    query = """WITH NULL AS a MATCH (a)-[e]->(b) RETURN a, e, b"""
    plan = redis_graph.execution_plan(query)
    # Verify that we are attempting to perform a traversal but no scan.
    self.env.assertNotIn("Scan", plan)
    self.env.assertIn("Conditional Traverse", plan)
    actual_result = redis_graph.query(query)
    # Expect no results.
    expected_result = []
    self.env.assertEquals(actual_result.result_set, expected_result)
    query = """WITH NULL AS e MATCH (a:L)-[e]->(b) RETURN a, e, b"""
    plan = redis_graph.execution_plan(query)
    # Verify that we are performing a scan and traversal.
    self.env.assertIn("Label Scan", plan)
    self.env.assertIn("Conditional Traverse", plan)
    actual_result = redis_graph.query(query)
    # Expect no results.
    expected_result = []
    self.env.assertEquals(actual_result.result_set, expected_result)