/**
  * testSessionAutoStart method
  *
  * @access public
  * @return void
  */
 function testSessionAutoStart()
 {
     Configure::write('Session.start', false);
     $Session = new SessionComponent();
     $this->assertFalse($Session->__active);
     $this->assertFalse($Session->__started);
     $Session->startup(new SessionTestController());
     Configure::write('Session.start', true);
     $Session = new SessionComponent();
     $this->assertTrue($Session->__active);
     $this->assertFalse($Session->__started);
     $Session->startup(new SessionTestController());
     $this->assertTrue(isset($_SESSION));
     $Object = new Object();
     $Session = new SessionComponent();
     $Session->start();
     $expected = $Session->id();
     $result = $Object->requestAction('/session_test/session_id');
     $this->assertEqual($result, $expected);
     $result = $Object->requestAction('/orange_session_test/session_id');
     $this->assertEqual($result, $expected);
 }