public function testCanGetCache() { $cacheManager = new \Stormpath\Cache\MemcachedCacheManager(array('memcached' => array(array('host' => '127.0.0.1', 'port' => '11211', 'password' => null)))); $cache = $cacheManager->getCache(); $this->assertInstanceOf("Stormpath\\Cache\\MemcachedCache", $cache); }
public function setUp() { $cacheManager = new \Stormpath\Cache\MemcachedCacheManager(array('memcached' => array(array('host' => '127.0.0.1', 'port' => '11211', 'password' => null)))); $this->cache = $cacheManager->getCache(); }