public function hasMessage($message) { $this->_validateExceptionThrown(); AssertAdapter::assertEquals($message, $this->exception->getMessage()); return $this; }