public function testInit()
{
$id = session_id();
$this->assertEmpty($id);
$result = ini_get('session.name');
$this->assertEqual(basename(Libraries::get(true, 'path')), $result);
$result = ini_get('session.cookie_lifetime');
$this->assertEqual(0, (int) $result);
$result = ini_get('session.cookie_httponly');
$this->assertNotEmpty((int) $result);
$name = 'this-is-a-custom-name';
$php = new Php(array('session.name' => $name));
$this->assertNotInternalType('numeric', $php->_config['session.name']);
}