protected function tearDown() { // Get any surplus instances added via t3lib_div::addInstance. t3lib_div::makeInstance('t3lib_mail_Message'); $this->subject->cleanUp(); $GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = $this->deprecationLogEnabledBackup; }