private function _handleBootException(Exception $e) { if ($this->_bootLogger->isEnabled()) { /** * Print everything out, including a stack trace. */ $this->_bootLogger->handleBootException($e); $this->_bootLogger->onBootComplete(); } self::$_BOOT_EXCEPTION = $e; throw $e; }
public function testDebug() { $this->expectOutputRegex('~some message~'); $this->_sut->debug('some message', array('foo' => 'bar')); $this->_sut->handleBootException(new RuntimeException()); }