def add_method(self, method):
        if method.interface:
            raise ValueError('Cannot add a method to %s, the method is already in '
                             'an interface: %s', self, method)

        self.methods.append(method)
        self.add_child(method)
        method.interface = self

        return method
Test that slabs overflow in LRU sequence.
dataset/ETHPy150Open pdef/pdef/compiler/pdefc/lang.py/Interface.add_method--crossover with--dataset/ETHPy150Open MapQuest/mapquest-osm-server/src/python/tests/test_lrucache.py/test_overflow