def METHOD_NAME(self):
    graph = NasBench301SearchSpace()
    spec = (((0, 1), (1, 4), (0, 6), (2, 0), (2, 6), (1, 4), (0, 5), (2, 2)),
            ((0, 5), (1, 6), (0, 1), (1, 5), (2, 5), (1, 2), (3, 3), (0, 3)))
    graph.set_spec(spec)
    retrieved_spec = graph.get_hash()
    self.assertEqual(spec, retrieved_spec)