Extends
lithium\test\UnitSource
public function testCacheWriteMultipleItems() {
$config = array('default' => array(
'adapter' => 'Memory', 'filters' => array(), 'strategies' => array()
));
Cache::config($config);
$result = Cache::config();
$expected = $config;
$this->assertEqual($expected, $result);
$data = array(
'key1' => 'value1',
'key2' => 'value2',
'key3' => 'value3'
);
$result = Cache::write('default', $data, '+1 minute');
$this->assertTrue($result);
}