def METHOD_NAME(self):
    data = {"foo": "bar", "a": "b"}
    generator = LogicalIdGenerator(self.prefix, data_obj=data)
    old = generator.gen()
    new = LogicalIdGenerator(self.prefix, data_obj=data.copy()).gen()  # Create a copy of data obj
    self.assertEqual(old, new)