@since Method available since Release 3.2.0
mixed $exceptionName:
string $exceptionMessage:
integer $exceptionCode:
public function setExpectedException($exceptionName, $exceptionMessage = '', $exceptionCode = NULL) {
$this->expectedException = $exceptionName;
$this->expectedExceptionMessage = $exceptionMessage;
$this->expectedExceptionCode = $exceptionCode;
}