public static function tearDownBeforeClass() { unset($_SERVER['SERVER_NAME']); if (isset(Tests_Two_Factor_Email::$phpmailer)) { $GLOBALS['phpmailer'] = Tests_Two_Factor_Email::$phpmailer; Tests_Two_Factor_Email::$phpmailer = null; } unset(Tests_Two_Factor_Email::$mockmailer); parent::tearDownBeforeClass(); }