/** @dataProvider provideClients */ public function testExpires(Memento\Client $client) { $client->store($this->getGroupKey(), $this->getKey(), array('foo' => 'bar'), 1); sleep(3); $exists = $client->exists($this->getGroupKey(), $this->getKey()); $this->assertFalse($exists); }