/** @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); }
public function testClientWIthNoEngineSupplied() { $client = new Memento\Client(); $engine = $client->getEngine(); $this->assertEquals(get_class($engine), 'Memento\\Engine\\File'); }