public function testGetItems() { $keys = ["empty2", "empty3"]; $items = $this->fp->getItems($keys); $this->assertTrue(is_array($items)); foreach ($keys as $key) { $this->assertArrayHasKey($key, $items); $this->checkItem($items[$key], $key); } }
public function setUp() { $fp = new NoCachePool("/tmp"); $this->item = $fp->getItem("test"); $this->item->set("testval", 60); }