123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace Predis;
- use PredisTestCase;
- class PredisExceptionTest extends PredisTestCase
- {
-
- public function testExceptionMessage()
- {
- $message = 'Predis exception message';
- $exception = $this->getMockForAbstractClass('Predis\PredisException', array($message));
- $this->setExpectedException('Predis\PredisException', $message);
- throw $exception;
- }
- }
|