public function testCertificateException() { $e = new CertificateException("This is a message for users.", "This is a message for the log."); $this->assertEquals($e->getUserMessage(), "This is a message for users."); $this->assertEquals($e->getLogMessage(), "This is a message for the log."); }