/** * @covers think\Session::destroy * * @todo Implement testDestroy(). */ public function testDestroy() { \think\Session::set('sessionnamedestroy', 'sessionvalue'); \think\Session::destroy(); $this->assertEmpty($_SESSION['sessionnamedestroy']); }