public function testGetCode()
 {
     $exception = new InvalidParamException();
     $this->assertSame(-32602, $exception->getCode());
 }
Beispiel #2
0
 public function __construct($fn, $expected, $num)
 {
     parent::__construct($fn, 'expects ' . $expected . ' parameters; ' . $num . ' given');
 }