def METHOD_NAME(self):
    before = self.cache.max_size_bytes
    self.cache.max_size_bytes = 0
    self.cache.set("foobar", "tata", 42)
    self.cache.max_size_bytes = before
    assert self.cache.get("foobar") == "tata"