def test_instanciation_with_timeout_5sec(self):
     cache = LRUCache(5, 5)
     cache.put('first', 'first')
     cache.put('second', 'second')
     self.assertEqual(len(cache.keys()), 2)
     time.sleep(7)
     self.assertEqual(len(cache.keys()), 0)
     cache.stop_timer()