/** * @dataProvider dataProviderForOptionsException * * @param string $key * @param mixed $value * @param \Exception $expectedException */ public function testSetOptionException($key, $value, $expectedException) { $this->setExpectedException($expectedException); $this->cache->setOption($key, $value); }
/** * @dataProvider dataProvider */ public function testSetOption() { $this->cache->setOption('ttl', 3600); }