public function testWriteWithScope()
{
$adapter = new Redis(array('scope' => 'primary'));
$keys = array('key1' => 'test1');
$expiry = '+1 minute';
$adapter->write($keys, $expiry);
$expected = 'test1';
$result = $this->_redis->get('primary:key1');
$this->assertEqual($expected, $result);
$result = $this->_redis->get('key1');
$this->assertFalse($result);
}