for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of BiuradPHP opensource projects.
*
* PHP version 7.1 and above required
* @author Divine Niiquaye Ibok <[email protected]>
* @copyright 2019 Biurad Group (https://biurad.com/)
* @license https://opensource.org/licenses/BSD-3-Clause License
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Biurad\Cache\Tests;
use Biurad\Cache\AdapterFactory;
use Biurad\Cache\CacheItemPool;
use Biurad\Cache\SimpleCache;
use Cache\IntegrationTests\SimpleCacheTest as Psr16CacheTest;
class SimpleCacheTest extends Psr16CacheTest
{
public function createSimpleCache()
$adapter = AdapterFactory::createHandler('memory://' . __DIR__ . '/caches/psr16');
$cache = new CacheItemPool($adapter);
return new SimpleCache($cache);
}