/** * @runInSeparateProcess */ public function testSessionDestroy() { $session = new Session(); $this->assertFalse($session->active()); $this->assertFalse($session->destroy()); $this->assertTrue($session->start()); $this->assertTrue($session->destroy()); $this->assertFalse($session->active()); $this->assertEquals($_SESSION, array()); }