public function testMemoryReadWriteDelete()
{
$config = array('name' => 'memoryInt');
Session::config(array($config['name'] => array('adapter' => 'Memory')));
Session::clear($config);
$key1 = 'key_one';
$value1 = 'value_one';
$key2 = 'key_two';
$value2 = 'value_two';
$this->assertNull(Session::read($key1, $config));
$this->assertTrue(Session::write($key1, $value1, $config));
$this->assertEqual($value1, Session::read($key1, $config));
$this->assertNull(Session::read($key2, $config));
$this->assertTrue(Session::delete($key1, $config));
$this->assertNull(Session::read($key1, $config));
}