expectedTriggerError = true; $this->setExpectedException($exceptionName, (string) $message, $errno); } }