Source

						public function testWriteNoCacheExpiry() {
		$redis = new Redis(array('expiry' => null));
		$key = 'default_key';
		$data = 'value';
		$redis->write($key, $data)->__invoke(null, compact('key', 'data'), null);
		$this->assertEqual($data, $this->_redis->get($key));
		$this->assertTrue($this->_redis->delete($key));
	}