public function testCanGetCache() { $cacheManager = new \Stormpath\Cache\RedisCacheManager(array('redis' => array('host' => '127.0.0.1', 'port' => '6379', 'password' => null))); $cache = $cacheManager->getCache(); $this->assertInstanceOf("Stormpath\\Cache\\RedisCache", $cache); }
public function setUp() { $cacheManager = new \Stormpath\Cache\RedisCacheManager(array('redis' => array('host' => '127.0.0.1', 'port' => '6379', 'password' => null))); $this->cache = $cacheManager->getCache(); }