Example #1
0
 public function test_that_constructor_takes_message_as_argument()
 {
     $message = 'Query error';
     $exception = new QueryException($message);
     $this->assertSame($message, $exception->getMessage());
 }