*/ namespace Desarrolla2\Test\Cache\Adapter; use Desarrolla2\Cache\Cache; use Desarrolla2\Cache\Adapter\File; /** * FileTest */ class FileTest extends AbstractCacheTest { public function setUp() { parent::setup(); $this->cache = new Cache(new File($this->config['file']['dir'])); } /** * @return array */ public function dataProviderForOptionsException() { return array( array('ttl', 0, '\Desarrolla2\Cache\Exception\CacheException'), array('file', 100, '\Desarrolla2\Cache\Exception\CacheException'), ); } }