private function _checkSwitchNeedDefault() {
		if ($this->_isActive('switchNeedDefault')) {
			if (!$this->statementStack->getCurrentStackItem()->switchHasDefault) {
				// Direct call to reporter to include a custom line number.
				$this->_writeError('switchNeedDefault', $this->_getMessage('SWITCH_DEFAULT'), $this->_switchStartLine, $this->_config->getTestLevel('switchNeedDefault'));
			}
		}
	}