public function testGetAllElements() { Session::clear_all(); // Remove all session that might've been set by the test harness Session::set('Test', 'Test'); Session::set('Test-2', 'Test-2'); $session = Session::get_all(); unset($session['HTTP_USER_AGENT']); $this->assertEquals($session, array('Test' => 'Test', 'Test-2' => 'Test-2')); }