HummingBirdAnimeClient/tests/Ion/Cache/Driver/RedisDriverTest.php

29 lines
427 B
PHP
Raw Normal View History

2016-04-08 14:25:45 -04:00
<?php
require_once('CacheDriverBase.php');
use Aviat\Ion\Cache\Driver\RedisDriver;
class CacheRedisDriverTest extends AnimeClient_TestCase {
use CacheDriverBase;
protected $driver;
public function setUp()
{
parent::setUp();
$this->driver = new RedisDriver($this->container);
2016-04-08 14:25:45 -04:00
}
public function tearDown()
{
parent::tearDown();
if ( ! is_null($this->driver))
{
$this->driver->__destruct();
}
}
2016-04-08 14:25:45 -04:00
}