1 | <?php |
||
24 | final class CURLInvalidMessageClassExceptionTest extends PHPUnit_Framework_TestCase { |
||
25 | |||
26 | /** |
||
27 | * Tests the __construct() method. |
||
28 | */ |
||
29 | public function testConstruct() { |
||
30 | |||
31 | $ex = new CURLMethodNotAllowedException("exception"); |
||
32 | |||
33 | $res = "The method \"exception\" is not allowed"; |
||
34 | $this->assertEquals($res, $ex->getMessage()); |
||
35 | } |
||
36 | |||
37 | } |
||
38 |